1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-03 06:22:13 +02:00

suppression: confirm

This commit is contained in:
Gabriel Poma 2023-04-19 15:42:48 +02:00
parent 011c9094e1
commit eab2e0c127

View file

@ -74,6 +74,8 @@ var addMetadata = function(key, value) {
}
const deleteMetadata = function(el) {
if (confirm("Souhaitez-vous supprimer ce champ ?") === false) return;
const input = el.closest('.input-metadata')
input.remove()
}