make QuickCSS have priority over themes
This commit is contained in:
parent
d3691f74c4
commit
3e7d4e2623
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue