aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-04-02 12:08:49 -0700
committerAlex Yatskov <alex@foosoft.net>2017-04-02 12:08:49 -0700
commitccb740da58068633a0ef5bd1c26bd4dd10625dce (patch)
tree6e0e90351eb6d0294ffbf27fefbe7fc6d064645b /ext/bg/js/yomichan.js
parent372cdbf14bd4412c8078e26a6324edd534b6daf4 (diff)
parent9ac55fb5d11e5037e808939598591d55d1368b43 (diff)
Merge branch 'dev'
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 7a26d6c7..feb74b6e 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -121,7 +121,7 @@ window.yomichan = new class {
definitionAdd(definition, mode) {
let promise = Promise.resolve();
if (mode !== 'kanji') {
- promise = audioInject(definition, this.options.anki.terms.fields);
+ promise = audioInject(definition, this.options.anki.terms.fields, this.options.general.audioSource);
}
return promise.then(() => {