From 9edfd9e8400c820fa751a7cddc0c8691ee55cfa5 Mon Sep 17 00:00:00 2001 From: Vincent LAURENT Date: Sun, 3 Oct 2021 09:46:35 +0200 Subject: [PATCH] =?UTF-8?q?Sauvegarde=20avant=20la=20s=C3=A9l=C3=A9ction?= =?UTF-8?q?=20du=20dernier=20=C3=A9l=C3=A9ment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index 73e141b..34a327d 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -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) {