mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +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 New Issue
Block a user