debugging local storage

This commit is contained in:
clashofclanselixircollector 2024-12-12 09:21:56 -08:00
parent e1997601d9
commit a55b89ce2e

View File

@ -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);
}