aboutsummaryrefslogtreecommitdiff
path: root/ext/js/app
diff options
context:
space:
mode:
authorstarxeras <149911531+starxeras@users.noreply.github.com>2023-11-10 20:01:19 +0000
committerstarxeras <149911531+starxeras@users.noreply.github.com>2023-11-10 20:01:19 +0000
commitdae82459073c18c903c0bb54c578476ed83dbfd8 (patch)
tree41cfb2633de8f0d1708cb907f6234a676e7eb37f /ext/js/app
parent8540ef19da5666885dac1ea239e2fab5e3b51abd (diff)
Replaced `iframe.yomichan-popup`
Diffstat (limited to 'ext/js/app')
-rw-r--r--ext/js/app/popup.js6
1 files changed, 3 insertions, 3 deletions
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) {