From 204ad95027010304056c7f343c1642ecdc5d788a Mon Sep 17 00:00:00 2001 From: clashofclanselixircollector Date: Wed, 11 Dec 2024 10:17:15 -0800 Subject: [PATCH] keep yourself safe --- js/darkmode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';