From dae82459073c18c903c0bb54c578476ed83dbfd8 Mon Sep 17 00:00:00 2001 From: starxeras <149911531+starxeras@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:01:19 +0000 Subject: Replaced `iframe.yomichan-popup` --- ext/js/app/popup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/js') diff --git a/ext/js/app/popup.js b/ext/js/app/popup.js index 6f1807a6..90f73847 100644 --- a/ext/js/app/popup.js +++ b/ext/js/app/popup.js @@ -113,7 +113,7 @@ export class Popup extends EventDispatcher { this._frameSizeContentScale = null; this._frameClient = null; this._frame = document.createElement('iframe'); - this._frame.className = 'yomichan-popup'; + this._frame.className = 'yomitan-popup'; this._frame.style.width = '0'; this._frame.style.height = '0'; @@ -359,7 +359,7 @@ export class Popup extends EventDispatcher { useWebExtensionApi = false; parentNode = this._shadow; } - const node = await dynamicLoader.loadStyle('yomichan-popup-outer-user-stylesheet', 'code', css, useWebExtensionApi, parentNode); + const node = await dynamicLoader.loadStyle('yomitan-popup-outer-user-stylesheet', 'code', css, useWebExtensionApi, parentNode); this.trigger('customOuterCssChanged', {node, useWebExtensionApi, inShadow}); } @@ -537,7 +537,7 @@ export class Popup extends EventDispatcher { useWebExtensionApi = false; parentNode = this._shadow; } - await dynamicLoader.loadStyle('yomichan-popup-outer-stylesheet', fileType, '/css/popup-outer.css', useWebExtensionApi, parentNode); + await dynamicLoader.loadStyle('yomitan-popup-outer-stylesheet', fileType, '/css/popup-outer.css', useWebExtensionApi, parentNode); } _observeFullscreen(observe) { -- cgit v1.2.3