From e500a647a2518e9090529522b0dd6dd84d26aefe Mon Sep 17 00:00:00 2001 From: siikamiika Date: Thu, 1 Aug 2019 20:41:06 +0300 Subject: [PATCH] fix term lookup for terms with one gloss only --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {