mirror of
https://github.com/24eme/signaturepdf
synced 2024-06-03 06:22:13 +02:00
suppression: confirm
This commit is contained in:
parent
011c9094e1
commit
eab2e0c127
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue