Update js/darkmode.js
This commit is contained in:
parent
a55b89ce2e
commit
40af85329a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user