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

View file

@ -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) {