fix default theme
This commit is contained in:
@@ -54,7 +54,7 @@ let app = {
|
|||||||
beepTimer: undefined,
|
beepTimer: undefined,
|
||||||
sound: undefined,
|
sound: undefined,
|
||||||
themes: DAISYUI_THEMES,
|
themes: DAISYUI_THEMES,
|
||||||
currentTheme: "light",
|
currentTheme: "cmyk",
|
||||||
spinning: false,
|
spinning: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@@ -320,7 +320,7 @@ let app = {
|
|||||||
console.log("app mounted");
|
console.log("app mounted");
|
||||||
this.sound = new Audio("./sound.wav");
|
this.sound = new Audio("./sound.wav");
|
||||||
this.rawData = atob(this.getCookie("rawData", btoa(this.rawData)));
|
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();
|
this.data = this.getData();
|
||||||
setTimeout(this.showApp);
|
setTimeout(this.showApp);
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user