From 945c0f8d94da91621750f878468093bc6fc4f83d Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Thu, 7 Oct 2021 20:37:09 -0400 Subject: [PATCH] fix typo in script.js --- script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index 7defa20..f09500f 100644 --- a/script.js +++ b/script.js @@ -14,12 +14,11 @@ updateBackground(); function updateBackground() { isWarranty.nextElementSibling.style.backgroundColor = isWarranty.checked ? "red" - : "transparent"; - isWarranty.nextElementSibling.style.color = isWarranty.checked + : "transparent"; + isWarranty.nextElementSibling.style.color = isWarranty.checked ? "white" : "black"; } -} // Notification system // https://portal.trgrepair.com/task_manager.asp?rnd=0.9996227368620352