fix: loading

This commit is contained in:
Cory Dransfeldt 2024-10-30 20:22:08 -07:00
parent f27baa0ce7
commit 31a03ba1bb
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -48,7 +48,7 @@
</head>
<body>
<script>
window.addEventListener("load", () => {
document.addEventListener("DOMContentLoaded", () => {
(() => {
const storageType =
document.querySelector("theme-toggle")?.getAttribute("storage") === "local"