diff options
| author | Pitu <[email protected]> | 2017-01-31 03:37:17 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-31 03:37:17 -0300 |
| commit | 999c148dff3d27e4a4d5b59d6408a015c2922320 (patch) | |
| tree | 1e4b2e75c51835274e655a5c2a491610bc5ad3d0 /public/js/home.js | |
| parent | Added FAQ (diff) | |
| download | host.fuwn.me-999c148dff3d27e4a4d5b59d6408a015c2922320.tar.xz host.fuwn.me-999c148dff3d27e4a4d5b59d6408a015c2922320.zip | |
Changed /panel to /dashboard
Diffstat (limited to 'public/js/home.js')
| -rw-r--r-- | public/js/home.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/home.js b/public/js/home.js index cd06cc2..6253c10 100644 --- a/public/js/home.js +++ b/public/js/home.js @@ -69,7 +69,10 @@ upload.prepareUpload = function(){ document.getElementById('maxFileSize').innerHTML = 'Maximum upload size per file is ' + upload.maxFileSize; document.getElementById('loginToUpload').style.display = 'none'; - document.getElementById('loginLinkText').innerHTML = 'Create an account and keep track of your uploads'; + + if(upload.token === undefined) + document.getElementById('loginLinkText').innerHTML = 'Create an account and keep track of your uploads'; + document.getElementById('uploadContainer').appendChild(div); upload.prepareDropzone(); |