A webmail client. Forked from https://git.sr.ht/~migadu/alps
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
339 B

  1. const check_all = document.getElementById("action-checkbox-all");
  2. if (check_all) {
  3. check_all.style.display = "inherit";
  4. check_all.addEventListener("click", ev => {
  5. const inputs = document.querySelectorAll(".message-list-checkbox input");
  6. for (let i = 0; i < inputs.length; i++) {
  7. inputs[i].checked = ev.target.checked;
  8. }
  9. });
  10. }