summaryrefslogtreecommitdiff
path: root/ext/bg/js/audio.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 23:04:32 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-13 12:20:56 -0400
commit54d4c65854289de9d454198d7575d3db824cf0f1 (patch)
tree54daa5b66b2bd72924334eb339ccecabb40eaa5b /ext/bg/js/audio.js
parent21a2730cdeef80327285f77a155451a8fbf67939 (diff)
Rename audioGetFromSources's createAudioObject argument to download
Diffstat (limited to 'ext/bg/js/audio.js')
-rw-r--r--ext/bg/js/audio.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/audio.js b/ext/bg/js/audio.js
index 9e0ae67c..1a626d42 100644
--- a/ext/bg/js/audio.js
+++ b/ext/bg/js/audio.js
@@ -163,7 +163,7 @@ async function audioInject(definition, fields, sources, optionsContext) {
audioSourceDefinition = definition.expressions[0];
}
- const {url} = await audioGetFromSources(audioSourceDefinition, sources, optionsContext, false);
+ const {url} = await audioGetFromSources(audioSourceDefinition, sources, optionsContext, true);
if (url !== null) {
const filename = audioBuildFilename(audioSourceDefinition);
if (filename !== null) {