debugging local storage
This commit is contained in:
parent
e1997601d9
commit
a55b89ce2e
@ -70,8 +70,8 @@ $(document).ready(function() {
|
||||
localStorage.setItem('darkModeOn', false);
|
||||
}
|
||||
}
|
||||
if (localStorage.getItem('darkModeOn')) {
|
||||
$('darkModeCheckBox').prop('checked', true);
|
||||
if (localStorage.getItem('darkModeOn') == true) {
|
||||
$('darkModeCheckbox').prop('checked', true);
|
||||
var checked = true;
|
||||
updateDarkMode(checked);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user