aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-08-03 19:54:56 -0700
committerGitHub <noreply@github.com>2019-08-03 19:54:56 -0700
commit0368641621bd8a2f62f380d40c10bb5ca824f3cf (patch)
tree736143cac8a884329b00043baf640aa70aa5cac6 /ext/bg/js/search.js
parent567b136f5f004ee887cf9a8bd950b2286fd5ddab (diff)
parentbf92430ea742422e2e3ab4ba5ed5c2259be4c775 (diff)
Merge pull request #172 from siikamiika/search-terms-from-terms
allow looking up terms from within terms
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index 40bf2019..f08f22da 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -25,6 +25,8 @@ class DisplaySearch extends Display {
this.query = $('#query').on('input', this.onSearchInput.bind(this));
this.intro = $('#intro');
+ this.dependencies = {...this.dependencies, ...{docRangeFromPoint, docSentenceExtract}};
+
window.wanakana.bind(this.query.get(0));
}