mirror of
https://github.com/SubleXBle/Fail2Ban-Report.git
synced 2026-02-11 19:28:50 -06:00
Update action.js
This commit is contained in:
@@ -3,8 +3,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
tbody.addEventListener('click', e => {
|
||||
if (e.target.classList.contains('action-btn')) {
|
||||
const ip = e.target.dataset.ip;
|
||||
console.log('Ban IP:', ip);
|
||||
// Hier z.B. AJAX-Call zum Ban
|
||||
collectAndExecuteActions(ip); // <- zentrale Logik ausgelagert
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user