diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-04-02 12:12:21 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-04-02 12:12:21 -0700 |
commit | bea50cca462be631dadbd2f5bde1bc0a12ad17bf (patch) | |
tree | 73612a4fedc4d1fe9874979c27187b4176a84569 /ext/mixed/js/display.js | |
parent | 85001208db67027c430b3a4c8d569fb3930aeb27 (diff) | |
parent | ccb740da58068633a0ef5bd1c26bd4dd10625dce (diff) |
Merge branch 'master' into firefox-amo
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 36609525..f5ad4849 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -69,7 +69,7 @@ class Display { definitions, addable: options.anki.enable, grouped: options.general.groupResults, - playback: options.general.audioPlayback + playback: options.general.audioSource !== 'disabled' }; if (context) { @@ -335,7 +335,7 @@ class Display { this.audioCache[key].pause(); } - audioBuildUrl(definition, this.responseCache).then(url => { + audioBuildUrl(definition, this.options.general.audioSource, this.responseCache).then(url => { if (!url) { url = '/mixed/mp3/button.mp3'; } |