hide tebrisk if new day

This commit is contained in:
Aliberk Sandıkçı 2024-01-07 16:27:11 +03:00
parent 9cc4e065c5
commit 090cec8242
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -131,6 +131,7 @@
localStorage.removeItem("guesses"); localStorage.removeItem("guesses");
localStorage.removeItem("latest_guess"); localStorage.removeItem("latest_guess");
localStorage.removeItem("win"); localStorage.removeItem("win");
document.getElementById("tebriks").style.display = "none";
} }
localStorage.setItem("latest_visit", date); localStorage.setItem("latest_visit", date);
} }