Update js/darkmode.js

This commit is contained in:
clashofclanselixircollector 2024-12-12 09:28:16 -08:00
parent a55b89ce2e
commit 40af85329a

View File

@ -67,11 +67,11 @@ $(document).ready(function() {
dZone.style.color = '#010101';
const dZoneText = document.querySelector('.modal');
dZoneText.style.color = '#010101';
localStorage.setItem('darkModeOn', false);
localStorage.removeItem("myCat");
}
}
if (localStorage.getItem('darkModeOn') == true) {
$('darkModeCheckbox').prop('checked', true);
$('darkModeCheckbox').checked;
var checked = true;
updateDarkMode(checked);
}