summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-05 19:23:17 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-05 19:23:17 -0700
commit7e635d6382b0d96f596e2440b93e5935230367aa (patch)
tree0a69ec1c49333c7dc49e0adb247a11f2ad69c6e7 /ext/bg/js/backend.js
parentdfecef1f23435c933237794de6665f6fbacf90ec (diff)
more cleanup
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 => {