fix term lookup for terms with one gloss only

This commit is contained in:
siikamiika 2019-08-01 20:41:06 +03:00
parent b8df9896e6
commit e500a647a2

View File

@ -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) {