1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2024-06-04 23:12:25 +02:00

Sauvegarde avant la séléction du dernier élément

This commit is contained in:
Vincent LAURENT 2021-10-03 09:46:35 +02:00
parent 2ac5e92937
commit 9edfd9e840

View file

@ -135,8 +135,8 @@ loadingTask.promise.then(function(pdf) {
}
svgCollections.push(svgItem);
displaysSVG();
document.querySelector('#svg_list label:last-child').click();
localStorage.setItem('svgCollections', JSON.stringify(svgCollections));
document.querySelector('#svg_list label:last-child').click();
});
function dataURLtoBlob(dataurl) {