diff --git a/js/darkmode.js b/js/darkmode.js index 03a69c7..4cdc687 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -32,8 +32,8 @@ $(document).ready(function() { }); const dZone = document.querySelector('.danger-zone'); dZone.style.color = '#ff6847'; - const dZoneText = document.querySelector('.modal-content') - dZoneText.style.color.p = '#ff3c00' + const dZoneText = document.querySelector('.modal'); + dZoneText.style.p.color = '#ff3c00'; } else { const body = document.querySelector('body'); body.style.backgroundColor = '#f1f1f1'; @@ -65,7 +65,7 @@ $(document).ready(function() { }); const dZone = document.querySelector('.danger-zone'); dZone.style.color = '#010101'; - const dZoneText = document.querySelector('.modal-content') + const dZoneText = document.querySelector('.modal'); dZoneText.style.p.color = '#010101'; } }