summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Frei <dannyperson@users.noreply.github.com>2017-03-10 23:10:32 -0600
committerGitHub <noreply@github.com>2017-03-10 23:10:32 -0600
commit99754802aa0f939f855cc08dc713baa1dd3cc754 (patch)
treec7fd8273e888a3f443a3d6c17b97d47c07305a58
parent8d48822d0e58fce647a984d9b47fdc555f8aa4be (diff)
Bind wanakana IME to search field
-rw-r--r--ext/bg/js/display-window.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/display-window.js
index c3890721..ad193c5b 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/display-window.js
@@ -21,6 +21,7 @@ window.displayWindow = new class extends Display {
constructor() {
super($('#spinner'), $('#content'));
$('#search').click(this.onSearch.bind(this));
+ window.wanakana.bind($('#query').get(0));
}
definitionAdd(definition, mode) {