aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 1c058433..f61e9742 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -50,9 +50,9 @@ window.yomichan_backend = new class {
}
if (options.anki.enable) {
- backend().anki = new AnkiConnect(options.anki.server);
+ this.anki = new AnkiConnect(options.anki.server);
} else {
- backend().anki = new AnkiNull();
+ this.anki = new AnkiNull();
}
chrome.tabs.query({}, tabs => {