diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 488dcfb5..eee39ab5 100644 --- a/src/utils/quickCss.ts +++ b/src/utils/quickCss.ts @@ -66,10 +66,11 @@ async function initThemes() { } document.addEventListener("DOMContentLoaded", () => { + initThemes(); + toggle(Settings.useQuickCss); addSettingsListener("useQuickCss", toggle); - initThemes(); addSettingsListener("themeLinks", initThemes); addSettingsListener("enabledThemes", initThemes);