fix term lookup for terms with one gloss only
This commit is contained in:
parent
b8df9896e6
commit
e500a647a2
@ -265,7 +265,7 @@ class Display {
|
|||||||
$('.action-view-note').click(this.onNoteView.bind(this));
|
$('.action-view-note').click(this.onNoteView.bind(this));
|
||||||
$('.action-play-audio').click(this.onAudioPlay.bind(this));
|
$('.action-play-audio').click(this.onAudioPlay.bind(this));
|
||||||
$('.kanji-link').click(this.onKanjiLookup.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);
|
await this.adderButtonUpdate(['term-kanji', 'term-kana'], sequence);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user