summaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-02-05 11:44:59 -0800
committerAlex Yatskov <alex@foosoft.net>2017-02-05 11:44:59 -0800
commit5076b80f9690a12fda23d06b2c3ddd1df08cff56 (patch)
tree9f04555e22dd1387d8e3d80930e8a30497cd0719 /ext/bg/js/yomichan.js
parenta13c32a784ec41c9e46d841c14e790ffa4ab7466 (diff)
tweaks for ankiconnect1.0.8
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 d97dc586..80a67588 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -71,7 +71,7 @@ class Yomichan {
this.options = options;
if (options.anki.enable) {
- this.anki = new AnkiConnect();
+ this.anki = new AnkiConnect(this.options.anki.server);
} else {
this.anki = new AnkiNull();
}