Fix bugs.

This commit is contained in:
Bruce
2025-12-29 20:43:54 +08:00
parent 4d10da5630
commit 319d13c2b1
2 changed files with 4 additions and 1 deletions

View File

@@ -495,7 +495,8 @@
if (!controls) return false;
var checkbox = controls.querySelector(".checkbox input");
if (!checkbox) return false;
return checkbox.checked == true;
if (checkbox.disabled === true) return false;
return checkbox.checked === true || checkbox.checked + "" === "true";
}
function noticeLoadSelectPage() {