diff options
author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2019-08-28 19:41:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 19:41:30 -0700 |
commit | cd75f5b97dd47e252854d6381b49d2b7bc77c3ce (patch) | |
tree | d2152125ba1216acf2ac888bbda4d8326903d361 /ext/bg/js/search.js | |
parent | 7bf215617c9e54228bd5f5fe44b29f7b99de1abc (diff) | |
parent | a39a1fa9e4700d1189dfc5073b5fcb2557965671 (diff) |
Merge pull request #188 from toasted-nutbread/edge-support
Add support for Edge browser
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r-- | ext/bg/js/search.js | 2 |
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)); } |