From b95d02c4114612edc20ecebf65f1c18b2728c81f Mon Sep 17 00:00:00 2001 From: Alban Date: Fri, 22 Nov 2019 23:12:53 +0100 Subject: [PATCH] [fix] index --- public/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index 1aa9b30..13ebe93 100644 --- a/public/index.php +++ b/public/index.php @@ -237,6 +237,7 @@ document.getElementById("background-image").addEventListener("change", function( updateCanvas(this.value); }, false); +/* // When the user clicks on upload a custom picture document.getElementById('custompicture').addEventListener("change", function(e){ var reader = new FileReader(); @@ -262,7 +263,7 @@ document.getElementById("background-image").addEventListener("change", function( reader.readAsDataURL(e.target.files[0]); } }, false); - +*/ // When the user selects a picture that has been added and press the DEL key // The object will be removed ! document.addEventListener("keydown", function(e) { @@ -274,6 +275,7 @@ document.getElementById("background-image").addEventListener("change", function( } }, false); +/* // Export the image function saveImage(e) { this.href = canvas.toDataURL({ @@ -284,7 +286,7 @@ function saveImage(e) { } var imageSaver = document.getElementById('lnkDownload'); imageSaver.addEventListener('click', saveImage, false); - +*/ $( "#montage" ).on("submit",function(e){ var dataURL = canvas.toDataURL(); var div = $("
Upload: %
")