Skip to content

Commit 2d2fcd0

Browse files
committed
Fixed problem with inline styles in dynamic theme
1 parent 5656a01 commit 2d2fcd0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content-scripts.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,12 @@ chrome.runtime.sendMessage({
12231223
EXT.storage = items;
12241224
EXT.ready = true;
12251225

1226+
document.addEventListener('DOMContentLoaded', function () {
1227+
if (getGlobalOrLocale()['dynamic-theme'] === true) {
1228+
queryInlines();
1229+
}
1230+
});
1231+
12261232
new MutationObserver(function () {
12271233
if (document.body) {
12281234
this.disconnect();

0 commit comments

Comments
 (0)