From 0a6248ba5de99b5e07f3cdfd13267bd4285a8343 Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Wed, 28 Aug 2024 12:14:11 +0700 Subject: [PATCH] Don't disable Anki when Yomitan is disabled --- ext/js/background/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js index fa99ccfdee..8fe408ee9a 100644 --- a/ext/js/background/backend.js +++ b/ext/js/background/backend.js @@ -1299,7 +1299,7 @@ export class Backend { let apiKey = options.anki.apiKey; if (apiKey === '') { apiKey = null; } this._anki.server = options.anki.server; - this._anki.enabled = options.anki.enable && enabled; + this._anki.enabled = options.anki.enable; this._anki.apiKey = apiKey; this._mecab.setEnabled(options.parsing.enableMecabParser && enabled);