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/orders/index.js
2020-09-28 22:55:35 +02:00

4 lines
189 B
JavaScript

document.querySelectorAll(".delete").forEach(e => e.addEventListener("click", ev => {
if (!confirm("Do you really want to remove this ?"))
ev.preventDefault();
}));