Fix theme-color meta tag not syncing with the theme
This commit is contained in:
parent
904aa530b5
commit
9eba0f6ab2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue