Select all checkbox
This commit is contained in:
parent
86504989b4
commit
6300c37a4e
2 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,10 @@ function reply(e) {
|
|||
return true;
|
||||
}
|
||||
|
||||
function selectAll(el) {
|
||||
el.parentElement.querySelectorAll('[type="checkbox"]')
|
||||
.forEach(t => t.checked=true);
|
||||
}
|
||||
|
||||
function rate_stars(e) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue