Update action.js

This commit is contained in:
SubleXBle
2025-07-28 02:51:21 +02:00
committed by GitHub
parent 4a5429aa05
commit e066813aa2

View File

@@ -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
}
});
});