mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
L'ouverture de la popup désactive l'élément de la liste des svg
séléctionné
This commit is contained in:
parent
5494796e06
commit
f318504d5e
@ -404,6 +404,11 @@ loadingTask.promise.then(function(pdf) {
|
||||
if(tab.querySelector('input')) {
|
||||
tab.querySelector('input').focus();
|
||||
}
|
||||
var input_selected = document.querySelector('input[name="svg_2_add"]:checked');
|
||||
if(input_selected) {
|
||||
input_selected.checked = false;
|
||||
input_selected.dispatchEvent(new Event("change"));
|
||||
}
|
||||
})
|
||||
|
||||
document.getElementById('modalAddSvg').addEventListener('hidden.bs.modal', function (event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user