summaryrefslogtreecommitdiff
path: root/ext/fg/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/fg/js
parent8ebac935e8c0ee167514d5726b1e2e16921e4957 (diff)
Add support for Edge browser
Diffstat (limited to 'ext/fg/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)));
}