Fixed darkmode cookie creation
This commit is contained in:
@@ -92,6 +92,9 @@ function checkDarkmode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
|
if(getCookie("darkmode") == "") {
|
||||||
|
setCookie("darkmode", false, 999);
|
||||||
|
}
|
||||||
checkDarkmode();
|
checkDarkmode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user