summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-26 14:13:53 -0500
committerGitHub <noreply@github.com>2020-11-26 14:13:53 -0500
commit3f7c76dbc787e443c6afb13f1a44520885159c1b (patch)
tree20b7b2e3f0be02ba215e824160f06ae3929389e3 /ext/bg/js
parent92e9f69c8069644c544301a51fbbd351e799e99d (diff)
Yomichan popup styles refactor (#1067)
* Rename classes yomichan-float to yomichan-popup * Use attributes instead of classes * Refactor * Update popup outer scaling * Update outer theme usage * Move client.css to popup-outer.css in /mixed
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index 5a402a71..c2c91202 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -108,7 +108,7 @@ class PopupPreviewFrame {
_onCustomOuterCssChanged({node}) {
if (node === null) { return; }
- const node2 = document.querySelector('#client-css');
+ const node2 = document.querySelector('#popup-outer-css');
if (node2 === null) { return; }
// This simulates the stylesheet priorities when injecting using the web extension API.