aboutsummaryrefslogtreecommitdiff
path: root/public/js/upload.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-17 20:02:32 -0300
committerPitu <[email protected]>2017-01-17 20:02:32 -0300
commit410c702b2d6c09e1e0c3e2f2654bf9fa4fd89864 (patch)
treef4d0aaf7925d9f1085d66a661bb6516aa460c377 /public/js/upload.js
parentBetter link display on homepage (diff)
downloadhost.fuwn.me-410c702b2d6c09e1e0c3e2f2654bf9fa4fd89864.tar.xz
host.fuwn.me-410c702b2d6c09e1e0c3e2f2654bf9fa4fd89864.zip
Better links on bottom and displaying max file size
Diffstat (limited to 'public/js/upload.js')
-rw-r--r--public/js/upload.js2
1 files changed, 1 insertions, 1 deletions
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();