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