fixed notice colour issue

This commit is contained in:
Crazypersonalph
2024-05-20 19:48:59 +08:00
parent 8bac4b6814
commit 8a38b1ab6f
+2 -1
View File
@@ -483,7 +483,8 @@ function applyDarkModeToIframe(iframe: HTMLIFrameElement, cssLink: HTMLStyleElem
const head = iframeDocument.head const head = iframeDocument.head
if (head && !head.innerHTML.includes('iframecss')) { if (head && !head.innerHTML.includes('iframecss')) {
head.appendChild(cssLink) head.innerHTML += cssLink.outerHTML
console.log(head)
} }
} }