summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/audio.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-10 16:12:55 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-18 14:23:34 -0400
commite1ebfb02f724518432b2e1c5ec2a80ff03b38fd8 (patch)
tree78643aa793ddf752c5d4f61db34b3cb64c0f12ac /ext/bg/js/settings/audio.js
parent823c026533dcd758c2a93038fa526978a5fa9cc3 (diff)
Disable cache on the backend and fix a bug with the cache key
Diffstat (limited to 'ext/bg/js/settings/audio.js')
-rw-r--r--ext/bg/js/settings/audio.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bg/js/settings/audio.js b/ext/bg/js/settings/audio.js
index 68dfe71e..98ed9b8b 100644
--- a/ext/bg/js/settings/audio.js
+++ b/ext/bg/js/settings/audio.js
@@ -28,7 +28,10 @@ let audioSourceUI = null;
let audioSystem = null;
async function audioSettingsInitialize() {
- audioSystem = new AudioSystem({audioUriBuilder: null});
+ audioSystem = new AudioSystem({
+ audioUriBuilder: null,
+ useCache: true
+ });
const optionsContext = getOptionsContext();
const options = await getOptionsMutable(optionsContext);