From 9f503c6aa2e0c7742c860696d337e80de150acdc Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Sat, 2 Dec 2023 19:03:24 +0100 Subject: [PATCH] test --- app/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/index.html b/app/templates/index.html index 2e56bbb..b9363d0 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -221,7 +221,7 @@ input:checked + .slider:before { var badge = document.getElementById(badgeid); if (message.action == "on") { - checkbox.setAttribute('checked', 'checked'); + checkbox.setAttribute('checked'); badge.textContent = "On"; badge.classList.replace("badge-danger","badge-success"); } else {