summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-02 13:44:08 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-02-02 13:44:08 +0200
commit24690ceb7c0fc2af9ebd33971dece22eb2bd1d03 (patch)
tree44ab8cd667c3584775b5fac4cc95eb3048bcc1d1 /ext/mixed/js
parentd5c0155a82cd67445d617aeb2e314c3839bc2c71 (diff)
fix glossary item selector
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 16bad3d9..70ef8ec3 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -312,9 +312,9 @@ class Display {
this.addEventListeners('.action-play-audio', 'click', this.onAudioPlay.bind(this));
this.addEventListeners('.kanji-link', 'click', this.onKanjiLookup.bind(this));
if (this.options.scanning.enablePopupSearch) {
- this.addEventListeners('.glossary-item', 'mouseup', this.onGlossaryMouseUp.bind(this));
- this.addEventListeners('.glossary-item', 'mousedown', this.onGlossaryMouseDown.bind(this));
- this.addEventListeners('.glossary-item', 'mousemove', this.onGlossaryMouseMove.bind(this));
+ this.addEventListeners('.term-glossary-item', 'mouseup', this.onGlossaryMouseUp.bind(this));
+ this.addEventListeners('.term-glossary-item', 'mousedown', this.onGlossaryMouseDown.bind(this));
+ this.addEventListeners('.term-glossary-item', 'mousemove', this.onGlossaryMouseMove.bind(this));
}
} else {
Display.clearEventListeners(this.eventListeners);