diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-29 12:00:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 12:00:41 -0500 |
commit | a8cd03cbecf4015483ce3479e589e65ce7eece45 (patch) | |
tree | 316ddd0673a2a15156fb7ef815813801260fd11c /ext/bg | |
parent | 008ffdb6bffc2855957be948a24c9e07730501d6 (diff) |
Fix outer CSS being incorrectly injected (#1075)
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/settings/popup-preview-frame.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js index c2c91202..8225ecb8 100644 --- a/ext/bg/js/settings/popup-preview-frame.js +++ b/ext/bg/js/settings/popup-preview-frame.js @@ -105,8 +105,8 @@ class PopupPreviewFrame { return options; } - _onCustomOuterCssChanged({node}) { - if (node === null) { return; } + _onCustomOuterCssChanged({node, inShadow}) { + if (node === null || inShadow) { return; } const node2 = document.querySelector('#popup-outer-css'); if (node2 === null) { return; } |