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

6 lines
220 B
JavaScript
Raw Normal View History

2023-07-08 18:23:45 +08:00
function toggleCheckboxSelection(checkStatus) {
// used in userpage_post.html
const checkBoxes = document.getElementsByName('marked');
checkBoxes.forEach((checkbox) => { checkbox.checked = checkStatus;} );
}