mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 00:45:46 -04:00
🔀 Merge pull request #848 from ItsSunnyMonster/dev
🐛 fix theme color not set correctly on load
This commit is contained in:
@@ -39,6 +39,7 @@ if (document.documentElement.getAttribute("data-auto-appearance") === "true") {
|
||||
}
|
||||
|
||||
window.addEventListener("DOMContentLoaded", (event) => {
|
||||
setThemeColor();
|
||||
var switchers = document.querySelectorAll("[id^='appearance-switcher']");
|
||||
switchers.forEach((switcher) => {
|
||||
switcher.addEventListener("click", () => {
|
||||
|
||||
Reference in New Issue
Block a user