relaxing a check from === to ==
This commit is contained in:
parent
102e613fc8
commit
3a915097a5
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ function checkSelectedBoxes(checkboxes = null) {
|
||||||
// Iterate through the checkboxes
|
// Iterate through the checkboxes
|
||||||
checkboxes.forEach(checkbox => {
|
checkboxes.forEach(checkbox => {
|
||||||
// Check if the 'checked' attribute is "0"
|
// Check if the 'checked' attribute is "0"
|
||||||
if (checkbox.getAttribute('checked_val') === "0") {
|
if (checkbox.getAttribute('checked_val') == "0") {
|
||||||
// Uncheck the checkbox
|
// Uncheck the checkbox
|
||||||
checkbox.checked = false;
|
checkbox.checked = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue