From eed5066bbe8f711f846b8fb8e5a0e1fd5108306b Mon Sep 17 00:00:00 2001 From: Akash Joshi Date: Fri, 7 Jun 2019 11:04:43 +0530 Subject: [PATCH] Update script.js --- static/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/script.js b/static/script.js index da8ff3b..cd7115c 100644 --- a/static/script.js +++ b/static/script.js @@ -19,7 +19,7 @@ function readURL(input) { }) .then(function (response) { //handle success - Document.querySelector("outer").innerHTML+=response.data; + document.querySelector("#outer").innerHTML+=response.data; console.log(response); }) .catch(function (response) { @@ -48,4 +48,4 @@ function readURL(input) { $('.image-upload-wrap').bind('dragleave', function () { $('.image-upload-wrap').removeClass('image-dropping'); }); - \ No newline at end of file +