1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +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) { const deleteMetadata = function(el) {
if (confirm("Souhaitez-vous supprimer ce champ ?") === false) return;
const input = el.closest('.input-metadata') const input = el.closest('.input-metadata')
input.remove() input.remove()
} }