fix: loading
This commit is contained in:
parent
f27baa0ce7
commit
31a03ba1bb
3 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window.addEventListener("load", () => {
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
(() => {
|
||||
const storageType =
|
||||
document.querySelector("theme-toggle")?.getAttribute("storage") === "local"
|
||||
|
|
Reference in a new issue