Fix cance button

This commit is contained in:
Ludovic Stephan 2020-08-25 19:45:09 +02:00 committed by Martin Pépin
parent 55c69ae42b
commit 566e968849
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

@ -82,7 +82,7 @@
openModal("confirm-delete-modal");
});
$(".modal-background, #modal-close, #cancel-delete-user").on("click", closeModals);
$(".modal-background, #modal-close, #cancel-delete-button").on("click", closeModals);
$("#confirm-delete-button").on("click", function() {
$("#user-delete-form").submit();