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
1 changed files with 1 additions and 0 deletions

View File

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