Browse code

Version 1.5 initial commit

Benjamin Roth authored on24/06/2024 12:06:17
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+window.onload = () => {
2
+  document.querySelectorAll('.member-filter-form input[type=checkbox]').forEach(checkbox => {
3
+    checkbox.addEventListener('change', el => {
4
+      el.currentTarget.closest('form')?.submit()
5
+    })
6
+  })
7
+}