fix default theme

This commit is contained in:
Klemek
2025-02-21 21:09:25 +01:00
parent 5b02fdc8fb
commit 38864aeac5
+2 -2
View File
@@ -54,7 +54,7 @@ let app = {
beepTimer: undefined,
sound: undefined,
themes: DAISYUI_THEMES,
currentTheme: "light",
currentTheme: "cmyk",
spinning: false,
};
},
@@ -320,7 +320,7 @@ let app = {
console.log("app mounted");
this.sound = new Audio("./sound.wav");
this.rawData = atob(this.getCookie("rawData", btoa(this.rawData)));
this.currentTheme = this.getCookie("theme", "light");
this.currentTheme = this.getCookie("theme", this.currentTheme);
this.data = this.getData();
setTimeout(this.showApp);
setInterval(() => {