mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Bug objet non existant
This commit is contained in:
parent
9cb4bfdf3d
commit
476adfa494
@ -115,7 +115,7 @@ loadingTask.promise.then(function(pdf) {
|
||||
|
||||
var input_selected = document.querySelector('input[name="svg_2_add"]:checked');
|
||||
|
||||
if(!input_selected.value.match(/^data:/) && input_selected.value != "text") {
|
||||
if(input_selected && !input_selected.value.match(/^data:/) && input_selected.value != "text") {
|
||||
input_selected = null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user