aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 23:20:42 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 23:20:42 -0500
commitb2cc694d95da9fc7b6b9d1e63a118b01877f25e1 (patch)
tree2a017e7ac1c25907baee93d1d3be8c866770a5ba /ext/fg/js
parent8c236cca44dd6d641f9b185e784cfae9641884cc (diff)
Replace window.yomichan_display with DisplayFloat.instance
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 8c7de906..7375b68f 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -119,4 +119,4 @@ DisplayFloat._messageHandlers = new Map([
['initialize', (self, {options, popupInfo, url, childrenSupported}) => self.initialize(options, popupInfo, url, childrenSupported)]
]);
-window.yomichan_display = new DisplayFloat();
+DisplayFloat.instance = new DisplayFloat();