diff options
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 4 |
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) { |