Fixed the bg issue. bruh
This commit is contained in:
parent
eff4f42f5e
commit
397408d4f2
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ var colors = (localStorage.getItem("colors") ?? "#FFFF00|#202020|#404040").split
|
|||
document.documentElement.style.setProperty('--main-color', colors[0]);
|
||||
document.documentElement.style.setProperty('--background', colors[1]);
|
||||
document.documentElement.style.setProperty('--background-light', colors[2]);
|
||||
document.documentElement.style.setProperty('--background-image', "url(" + (localStorage.getItem("background") ?? "./assets/clock.png") + ")");
|
||||
document.documentElement.style.setProperty('--background-image', "url(" + (localStorage.getItem("background") ?? "../assets/clock.png") + ")");
|
||||
|
||||
document.querySelector("#color").addEventListener("change", (e) => {
|
||||
const formData = new FormData(document.querySelector("#color"));
|
||||
|
|
Loading…
Reference in a new issue