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 +