Merge pull request #2118 from zica87/zica87-patch-1

Fix theme-color meta tag not syncing with the theme
This commit is contained in:
Eric Huss 2023-07-16 10:55:53 -07:00 committed by GitHub
commit 9911e86039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {