diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-04-02 12:08:49 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-04-02 12:08:49 -0700 |
commit | ccb740da58068633a0ef5bd1c26bd4dd10625dce (patch) | |
tree | 6e0e90351eb6d0294ffbf27fefbe7fc6d064645b /ext/mixed/js/display.js | |
parent | 372cdbf14bd4412c8078e26a6324edd534b6daf4 (diff) | |
parent | 9ac55fb5d11e5037e808939598591d55d1368b43 (diff) |
Merge branch 'dev'
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'; } |