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