mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2026-11-07 07:01:47 +09:00
0.1.0
This commit is contained in:
1 parent
95e8dea90f
commit
cdbad51641
50 files changed
+1171
-218
No files matched your search
@@ -0,0 +1,12 @@
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let form = document.getElementById('log-filter-form');
|
||||
|
||||
if (form == null) return;
|
||||
|
||||
let selects = form.querySelectorAll('select');
|
||||
selects.forEach(select => {
|
||||
select.addEventListener('change', function(e) {
|
||||
form.submit();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user