From 3a915097a5b778b080fb566d8fa25e3757e738e3 Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 13 May 2024 22:27:08 +0200 Subject: [PATCH] relaxing a check from === to == --- customprompts/mzta-custom-prompts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customprompts/mzta-custom-prompts.js b/customprompts/mzta-custom-prompts.js index 689e3b57..f7ccac10 100644 --- a/customprompts/mzta-custom-prompts.js +++ b/customprompts/mzta-custom-prompts.js @@ -452,7 +452,7 @@ function checkSelectedBoxes(checkboxes = null) { // Iterate through the checkboxes checkboxes.forEach(checkbox => { // Check if the 'checked' attribute is "0" - if (checkbox.getAttribute('checked_val') === "0") { + if (checkbox.getAttribute('checked_val') == "0") { // Uncheck the checkbox checkbox.checked = false; } else {