From 8bbafad4b8f405385e830c9218abee5c8a57fa4c Mon Sep 17 00:00:00 2001 From: clashofclanselixircollector Date: Wed, 11 Dec 2024 10:20:35 -0800 Subject: [PATCH] this better work (42 seconds until an absolute crash out) --- js/darkmode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'; } }