clearForm sets boxes to default not always empty
This commit is contained in:
parent
ccc6272bfd
commit
3be9e79615
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function toggle(checkbox) {
|
|||
|
||||
|
||||
function clearForm() {
|
||||
allBoxes.forEach(b => b.checked = false);
|
||||
allBoxes.forEach(b => b.checked = b.defaultChecked);
|
||||
}
|
||||
|
||||
function clear(e) {
|
||||
|
|
Loading…
Reference in a new issue