diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-08-01 20:41:06 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-08-01 20:41:06 +0300 |
commit | e500a647a2518e9090529522b0dd6dd84d26aefe (patch) | |
tree | 34c5d87cf50f9e9db89c971bac5eb882574b7339 /ext/mixed/js/display.js | |
parent | b8df9896e643c772253749a335b2abf0daa7a282 (diff) |
fix term lookup for terms with one gloss only
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
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) { |