Fixed var issue for chrome
This commit is contained in:
@@ -7,6 +7,7 @@ if (getCookie("darkmode") == null) {
|
|||||||
applyDarkmode = getCookie("darkmode");
|
applyDarkmode = getCookie("darkmode");
|
||||||
console.log("Cookie darkmode:" + applyDarkmode);
|
console.log("Cookie darkmode:" + applyDarkmode);
|
||||||
}
|
}
|
||||||
|
var isDark = false;
|
||||||
|
|
||||||
function setdarkMode(state) {
|
function setdarkMode(state) {
|
||||||
console.log(
|
console.log(
|
||||||
|
Reference in New Issue
Block a user