From c2ec3c6e1de071f5d4b1b7bcb9b65c8cf3712994 Mon Sep 17 00:00:00 2001 From: "sami.behar@etu.uca.fr" Date: Mon, 18 Jan 2021 13:11:13 +0100 Subject: [PATCH] Maj --- SOUTENANCE/rectest.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/SOUTENANCE/rectest.js b/SOUTENANCE/rectest.js index d5d120c..b15d9ed 100644 --- a/SOUTENANCE/rectest.js +++ b/SOUTENANCE/rectest.js @@ -1360,10 +1360,7 @@ function untoggletire(){ document.getElementById("bouttontirer").classList.remove('red'); } - - - - buttonPNG.onclick = function(){ + buttonPNG.onclick = function(){ download(canvas, 'Schema.png'); } @@ -1413,6 +1410,4 @@ function init() { pdf.save("Schema.pdf"); } ); - -} - +} \ No newline at end of file