aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index ca1738a6..3a728ee8 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -323,7 +323,9 @@ class Display {
$('.action-play-audio').click(this.onAudioPlay.bind(this));
$('.kanji-link').click(this.onKanjiLookup.bind(this));
$('.source-term').click(this.onSourceTermView.bind(this));
- $('.glossary-item').click(this.onTermLookup.bind(this));
+ if (this.options.scanning.enablePopupSearch) {
+ $('.glossary-item').click(this.onTermLookup.bind(this));
+ }
await this.adderButtonUpdate(['term-kanji', 'term-kana'], sequence);
} catch (e) {