1
0
Fork 0
EnglishPal/app/static/js/checkboxes.js

6 lines
220 B
JavaScript
Raw Normal View History

2024-07-04 10:40:35 +08:00
function toggleCheckboxSelection(checkStatus) {
// used in userpage_post.html
const checkBoxes = document.getElementsByName('marked');
checkBoxes.forEach((checkbox) => { checkbox.checked = checkStatus;} );
}