1
0
Fork 0

Fix checkbox value for dog mode
Lint / lint (push) Successful in 21s Details
Sync gmem.ca / sync (push) Successful in 32s Details

This commit is contained in:
Gabriel Simmer 2024-04-15 17:58:00 +01:00
parent 57d95c92a5
commit 93bb9a4193
Signed by: arch
SSH Key Fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@
reloaddog();
}
const reloaddog = () => {
checkbox.value = localStorage.getItem == "true";
if (localStorage.getItem("dog") == "true") {
header.innerHTML = "arf arf!";
friends.innerHTML = "aruff!";