From 659b837b24c04b0505c735ed16da5b63c902bab2 Mon Sep 17 00:00:00 2001 From: Khai Truong <56820749+khaitruong922@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:39:46 +0700 Subject: [PATCH 1/2] Allow add Anki cards on search page when Yomitan is disabled (#1365) 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); From 8509bcbbd2a7f94786349be3cc746a2018458cb0 Mon Sep 17 00:00:00 2001 From: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:12:13 -0400 Subject: [PATCH 2/2] Fix naming of glossary-first handlebars in settings help modal (#1371) --- ext/settings.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/settings.html b/ext/settings.html index 168fefac38..3df2e1b235 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -3225,15 +3225,15 @@
or click here to upload
List of definitions for the term, except the dictionary tag is omitted. - {glossary} + {glossary-first} First definition for the term. - {glossary-brief} + {glossary-first-brief} First definition for the term in a more compact format. - {glossary-no-dictionary} + {glossary-first-no-dictionary} First definition for the term, except the dictionary tag is omitted.