diff options
author | V <vendicated@riseup.net> | 2023-08-04 20:08:13 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-08-04 20:08:13 +0200 |
commit | 3e7d4e2623f03c5d436fca0434b2bc924c396620 (patch) | |
tree | 643376cc2ca1a086a6a32a079a27199770ee7279 | |
parent | d3691f74c47c611faeff261e379f52cd4e6ca417 (diff) | |
download | Vencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.tar.gz Vencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.tar.bz2 Vencord-3e7d4e2623f03c5d436fca0434b2bc924c396620.zip |
make QuickCSS have priority over themes
-rw-r--r-- | src/utils/quickCss.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 488dcfb..eee39ab 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); |