Fix theme-color meta tag not syncing with the theme
This commit is contained in:
parent
904aa530b5
commit
9eba0f6ab2
|
@ -346,7 +346,7 @@ function playground_text(playground, hidden = true) {
|
|||
}
|
||||
|
||||
setTimeout(function () {
|
||||
themeColorMetaTag.content = getComputedStyle(document.body).backgroundColor;
|
||||
themeColorMetaTag.content = getComputedStyle(document.documentElement).backgroundColor;
|
||||
}, 1);
|
||||
|
||||
if (window.ace && window.editors) {
|
||||
|
|
Loading…
Reference in New Issue