diff --git a/script/gallery.js b/script/gallery.js index 4a38eb6..ef0ebed 100644 --- a/script/gallery.js +++ b/script/gallery.js @@ -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) {