clearForm sets boxes to default not always empty

This commit is contained in:
Rhiannon Morris 2021-12-11 22:19:15 +01:00
parent ccc6272bfd
commit 3be9e79615
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ function toggle(checkbox) {
function clearForm() { function clearForm() {
allBoxes.forEach(b => b.checked = false); allBoxes.forEach(b => b.checked = b.defaultChecked);
} }
function clear(e) { function clear(e) {