Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/public/javascripts/admin/users.js

6 lines
199 B
JavaScript
Raw Normal View History

2020-09-29 14:56:47 +02:00
document.querySelectorAll(".delete")
2020-08-20 14:50:59 +02:00
.forEach(e => e.addEventListener("click", ev => {
if (!confirm("Do you really want to remove this user ?"))
ev.preventDefault();
}));