aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-08-22 19:44:31 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-08-26 21:58:03 -0400
commita39a1fa9e4700d1189dfc5073b5fcb2557965671 (patch)
treea803e03e64285d3c2b1c6d4c0e4ee87eee2cb266 /ext/bg/js/search.js
parent8ebac935e8c0ee167514d5726b1e2e16921e4957 (diff)
Add support for Edge browser
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));
}