From 3bdc6828c048d3ae2687bcc9015acc89d90d151e Mon Sep 17 00:00:00 2001 From: Safwan Samsudeen Date: Wed, 11 Dec 2024 23:23:46 +0530 Subject: [PATCH] fix: input type error --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 3d20029..3c72d68 100644 --- a/index.html +++ b/index.html @@ -608,7 +608,7 @@ let label = details[id]; let val; - if (e.currentTarget.type === 'switch') { + if (e.currentTarget.type === 'checkbox') { if (typeof label === 'string') { let opposite = label.slice(0, 5) === 'opp__'; if (opposite) label = label.slice(5);