aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/display-anki.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/display/display-anki.js b/ext/js/display/display-anki.js
index 6a6ec215..442319f7 100644
--- a/ext/js/display/display-anki.js
+++ b/ext/js/display/display-anki.js
@@ -351,6 +351,7 @@ export class DisplayAnki {
/** */
async _updateDictionaryEntryDetails() {
+ if (!this._display.getOptions()?.anki.enable) { return; }
const {dictionaryEntries} = this._display;
/** @type {?import('core').TokenObject} */
const token = {};