diff options
Diffstat (limited to 'data/js/upload_form.js')
-rw-r--r-- | data/js/upload_form.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/js/upload_form.js b/data/js/upload_form.js index 7a71a5174..111747c67 100644 --- a/data/js/upload_form.js +++ b/data/js/upload_form.js @@ -3,10 +3,10 @@ if (window.File && window.FileList) { function checkFileUpload(evt) { var f = evt.target.files[0]; if (f.size > max_upload_size) { - document.getElementById('upload_button').value = "File too big"; + document.getElementById('upload_button').innerHTML = "File too big"; document.getElementById('upload_button').disabled = true; } else { - document.getElementById('upload_button').value = "Upload"; + document.getElementById('upload_button').innerHTML = "Upload it!"; document.getElementById('upload_button').disabled = false; } } |