From bcc513ef4d68dbbc2c01d3020a4a058fcd3ef873 Mon Sep 17 00:00:00 2001 From: clashofclanselixircollector Date: Wed, 11 Dec 2024 10:23:23 -0800 Subject: [PATCH] 15 seconds until I start tweaking --- js/darkmode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/darkmode.js b/js/darkmode.js index 4cdc687..a713474 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'); - dZoneText.style.p.color = '#ff3c00'; + dZoneText.p.style.color = '#ff3c00'; } else { const body = document.querySelector('body'); body.style.backgroundColor = '#f1f1f1'; @@ -66,7 +66,7 @@ $(document).ready(function() { const dZone = document.querySelector('.danger-zone'); dZone.style.color = '#010101'; const dZoneText = document.querySelector('.modal'); - dZoneText.style.p.color = '#010101'; + dZoneText.p.style.color = '#010101'; } } $("#darkModeCheckbox").on("change", function() {