From b2cc694d95da9fc7b6b9d1e63a118b01877f25e1 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 20 Dec 2019 23:20:42 -0500 Subject: [PATCH] Replace window.yomichan_display with DisplayFloat.instance --- ext/fg/js/float.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();