From 410c702b2d6c09e1e0c3e2f2654bf9fa4fd89864 Mon Sep 17 00:00:00 2001 From: Pitu Date: Tue, 17 Jan 2017 20:02:32 -0300 Subject: Better links on bottom and displaying max file size --- public/js/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js/upload.js') diff --git a/public/js/upload.js b/public/js/upload.js index 8f36fa5..3672077 100644 --- a/public/js/upload.js +++ b/public/js/upload.js @@ -64,9 +64,9 @@ upload.prepareUpload = function(){ div.innerHTML = 'Click here or drag and drop files'; div.style.display = 'flex'; + document.getElementById('maxFileSize').innerHTML = 'Maximum upload size per file is ' + upload.maxFileSize; document.getElementById('tokenContainer').style.display = 'none'; document.getElementById('uploadContainer').appendChild(div); - document.getElementById('panel').style.display = 'block'; upload.prepareDropzone(); -- cgit v1.2.3