summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2019-09-02 11:47:14 -0700
committerAlex Yatskov <alex@foosoft.net>2019-09-02 11:47:14 -0700
commit5347da528bd07166b4686f45440d80a77f4888a3 (patch)
tree08bbfd0c859327ee9a08ca86afd222a222ced62b /ext/bg/js/search.js
parentda981c0b911dc5a697246006089b266fddba84a7 (diff)
parent4ac55da7dd5354e6c3495f04583352d0d863b7b6 (diff)
Merge branch 'master' into testing
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index f08f22da..a3382398 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -25,7 +25,7 @@ class DisplaySearch extends Display {
this.query = $('#query').on('input', this.onSearchInput.bind(this));
this.intro = $('#intro');
- this.dependencies = {...this.dependencies, ...{docRangeFromPoint, docSentenceExtract}};
+ this.dependencies = Object.assign({}, this.dependencies, {docRangeFromPoint, docSentenceExtract});
window.wanakana.bind(this.query.get(0));
}