make QuickCSS have priority over themes
This commit is contained in:
parent
d3691f74c4
commit
3e7d4e2623
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user