summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-09 22:03:56 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-09 22:03:56 -0400
commit22b218d17238cc003938ef46403596c2183a9c1b (patch)
treef6c8158b6974ef164df394429c0058e65f8426ca /ext/mixed/js/display.js
parent8be0ddeb26ec5a7bf8d3044852754c4625a27230 (diff)
Pass optionsContext to audioBuildUrl handlers
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 17370654..78e6d8e3 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -404,7 +404,7 @@ class Display {
this.setSpinnerVisible(true);
const expression = expressionIndex === -1 ? definition : definition.expressions[expressionIndex];
- let url = await apiAudioGetUrl(expression, this.options.general.audioSource);
+ let url = await apiAudioGetUrl(expression, this.options.general.audioSource, this.optionsContext);
if (!url) {
url = '/mixed/mp3/button.mp3';
}