Merge pull request #2118 from zica87/zica87-patch-1
Fix theme-color meta tag not syncing with the theme
This commit is contained in:
commit
9911e86039
|
@ -346,7 +346,7 @@ function playground_text(playground, hidden = true) {
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
themeColorMetaTag.content = getComputedStyle(document.body).backgroundColor;
|
themeColorMetaTag.content = getComputedStyle(document.documentElement).backgroundColor;
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|
||||||
if (window.ace && window.editors) {
|
if (window.ace && window.editors) {
|
||||||
|
|
Loading…
Reference in New Issue