mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
metadata: If any field focus on add field
This commit is contained in:
parent
4965d7878b
commit
4b0ca82652
@ -61,6 +61,8 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
|
||||
}
|
||||
if(document.querySelector('.input-metadata input')) {
|
||||
document.querySelector('.input-metadata input').focus();
|
||||
} else {
|
||||
document.getElementById('input_metadata_key').focus();
|
||||
}
|
||||
});
|
||||
}, function (reason) {
|
||||
|
Loading…
Reference in New Issue
Block a user