restoring code

This commit is contained in:
akemidx 2024-07-31 07:13:42 -04:00
parent fccfce2ae8
commit 8d1fa362f7

View file

@ -134,15 +134,11 @@
});
$('#submit-button').on("click", function (event) {
if(signaturePad != null) {
if (signaturePad.isEmpty()) {
alert("Please provide signature first.");
return false;
} else {
$('#signature_output').val(signaturePad.toDataURL());
}
}
});
</script>