mirror of https://github.com/jpanther/congo.git
commit
8866702717
|
@ -39,6 +39,7 @@ if (document.documentElement.getAttribute("data-auto-appearance") === "true") {
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
|
setThemeColor();
|
||||||
var switchers = document.querySelectorAll("[id^='appearance-switcher']");
|
var switchers = document.querySelectorAll("[id^='appearance-switcher']");
|
||||||
switchers.forEach((switcher) => {
|
switchers.forEach((switcher) => {
|
||||||
switcher.addEventListener("click", () => {
|
switcher.addEventListener("click", () => {
|
||||||
|
|
Loading…
Reference in New Issue