From 0f9b05b58827ea56b1836019f932d73dec6d1aa8 Mon Sep 17 00:00:00 2001 From: pitu Date: Sat, 14 Jan 2017 19:45:02 -0300 Subject: [PATCH] Some fixes here and there --- public/js/upload.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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