relaxing a check from === to ==

This commit is contained in:
mic 2024-05-13 22:27:08 +02:00
parent 102e613fc8
commit 3a915097a5

View file

@ -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 {