|
@@ -96,7 +96,7 @@ upload.prepareUpload = function(){
|
|
|
|
|
|
div = document.createElement('div');
|
|
div = document.createElement('div');
|
|
div.id = 'dropzone';
|
|
div.id = 'dropzone';
|
|
- div.innerHTML = 'Click here or drag and drop files';
|
|
|
|
|
|
+ div.innerHTML = 'Drop files here or click to upload';
|
|
div.style.display = 'flex';
|
|
div.style.display = 'flex';
|
|
|
|
|
|
document.getElementById('maxFileSize').innerHTML = 'Maximum upload size per file is ' + upload.maxFileSize;
|
|
document.getElementById('maxFileSize').innerHTML = 'Maximum upload size per file is ' + upload.maxFileSize;
|
|
@@ -105,6 +105,7 @@ upload.prepareUpload = function(){
|
|
if(upload.token === undefined)
|
|
if(upload.token === undefined)
|
|
document.getElementById('loginLinkText').innerHTML = 'Create an account and keep track of your uploads';
|
|
document.getElementById('loginLinkText').innerHTML = 'Create an account and keep track of your uploads';
|
|
|
|
|
|
|
|
+ document.getElementById('uploadContainer').classList.add('is-half');
|
|
document.getElementById('uploadContainer').appendChild(div);
|
|
document.getElementById('uploadContainer').appendChild(div);
|
|
|
|
|
|
upload.prepareDropzone();
|
|
upload.prepareDropzone();
|