Replace window.yomichan_display with DisplayFloat.instance

This commit is contained in:
toasted-nutbread 2019-12-20 23:20:42 -05:00
parent 8c236cca44
commit b2cc694d95

View File

@ -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();