Ver Fonte

Some fixes here and there

pitu há 8 anos atrás
pai
commit
0f9b05b588
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      public/js/upload.js

+ 6 - 1
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