Fixed darkmode cookie creation

This commit is contained in:
CommanderRedYT
2020-11-11 19:51:38 +01:00
parent 97c6caeffe
commit 9aafb04408

View File

@@ -92,6 +92,9 @@ function checkDarkmode() {
}
function load() {
if(getCookie("darkmode") == "") {
setCookie("darkmode", false, 999);
}
checkDarkmode();
}