Bind wanakana IME to search field

This commit is contained in:
Dan Frei 2017-03-10 23:10:32 -06:00 committed by GitHub
parent 8d48822d0e
commit 99754802aa

View File

@ -21,6 +21,7 @@ window.displayWindow = new class extends Display {
constructor() { constructor() {
super($('#spinner'), $('#content')); super($('#spinner'), $('#content'));
$('#search').click(this.onSearch.bind(this)); $('#search').click(this.onSearch.bind(this));
window.wanakana.bind($('#query').get(0));
} }
definitionAdd(definition, mode) { definitionAdd(definition, mode) {