diff --git a/public/js/upload.js b/public/js/upload.js index 305c40e..a9e4117 100644 --- a/public/js/upload.js +++ b/public/js/upload.js @@ -32,7 +32,12 @@ window.onload = function () { autoProcessQueue: true, headers: { 'auth': localStorage.token - } + }, + init: function() { + this.on("addedfile", function(file) { + document.getElementById('uploads').style.display = 'block'; + }); + } }); // Update the total progress bar