make QuickCSS have priority over themes

This commit is contained in:
V 2023-08-04 20:08:13 +02:00
parent d3691f74c4
commit 3e7d4e2623
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -66,10 +66,11 @@ async function initThemes() {
} }
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {
initThemes();
toggle(Settings.useQuickCss); toggle(Settings.useQuickCss);
addSettingsListener("useQuickCss", toggle); addSettingsListener("useQuickCss", toggle);
initThemes();
addSettingsListener("themeLinks", initThemes); addSettingsListener("themeLinks", initThemes);
addSettingsListener("enabledThemes", initThemes); addSettingsListener("enabledThemes", initThemes);