aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-01 20:41:06 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2019-08-01 20:41:06 +0300
commite500a647a2518e9090529522b0dd6dd84d26aefe (patch)
tree34c5d87cf50f9e9db89c971bac5eb882574b7339 /ext/mixed/js
parentb8df9896e643c772253749a335b2abf0daa7a282 (diff)
fix term lookup for terms with one gloss only
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 364d67d8..dc6f5798 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -265,7 +265,7 @@ class Display {
$('.action-view-note').click(this.onNoteView.bind(this));
$('.action-play-audio').click(this.onAudioPlay.bind(this));
$('.kanji-link').click(this.onKanjiLookup.bind(this));
- $('.glossary li').click(this.onTermLookup.bind(this));
+ $('.glossary-item').click(this.onTermLookup.bind(this));
await this.adderButtonUpdate(['term-kanji', 'term-kana'], sequence);
} catch (e) {