From 99754802aa0f939f855cc08dc713baa1dd3cc754 Mon Sep 17 00:00:00 2001 From: Dan Frei Date: Fri, 10 Mar 2017 23:10:32 -0600 Subject: [PATCH] Bind wanakana IME to search field --- ext/bg/js/display-window.js | 1 + 1 file changed, 1 insertion(+) 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) {