summaryrefslogtreecommitdiff
path: root/ext/fg/js/float.js
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-08-28 19:41:30 -0700
committerGitHub <noreply@github.com>2019-08-28 19:41:30 -0700
commitcd75f5b97dd47e252854d6381b49d2b7bc77c3ce (patch)
treed2152125ba1216acf2ac888bbda4d8326903d361 /ext/fg/js/float.js
parent7bf215617c9e54228bd5f5fe44b29f7b99de1abc (diff)
parenta39a1fa9e4700d1189dfc5073b5fcb2557965671 (diff)
Merge pull request #188 from toasted-nutbread/edge-support
Add support for Edge browser
Diffstat (limited to 'ext/fg/js/float.js')
-rw-r--r--ext/fg/js/float.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/float.js b/ext/fg/js/float.js
index 090839a1..c0ec8a15 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -23,7 +23,7 @@ class DisplayFloat extends Display {
this.autoPlayAudioTimer = null;
this.styleNode = null;
- this.dependencies = {...this.dependencies, ...{docRangeFromPoint, docSentenceExtract}};
+ this.dependencies = Object.assign({}, this.dependencies, {docRangeFromPoint, docSentenceExtract});
$(window).on('message', utilAsync(this.onMessage.bind(this)));
}