fix typo in script.js

This commit is contained in:
2021-10-07 20:37:09 -04:00
parent 5482c6aae9
commit 945c0f8d94
+2 -3
View File
@@ -14,12 +14,11 @@ updateBackground();
function updateBackground() { function updateBackground() {
isWarranty.nextElementSibling.style.backgroundColor = isWarranty.checked isWarranty.nextElementSibling.style.backgroundColor = isWarranty.checked
? "red" ? "red"
: "transparent"; : "transparent";
isWarranty.nextElementSibling.style.color = isWarranty.checked isWarranty.nextElementSibling.style.color = isWarranty.checked
? "white" ? "white"
: "black"; : "black";
} }
}
// Notification system // Notification system
// https://portal.trgrepair.com/task_manager.asp?rnd=0.9996227368620352 // https://portal.trgrepair.com/task_manager.asp?rnd=0.9996227368620352