summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-16 04:16:29 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-16 04:16:29 +0200
commitfc0a1e7b8fe2f59cbd743f9d12e6cf70eeada2b7 (patch)
tree1eeaad83f2a2178ed0909ee0908aef8187c5f90e /js
parent493f221f5a2969e554098dc14d92da187d264469 (diff)
Finish up nojs-fallback
Credit goes to clsr for helping with this.
Diffstat (limited to 'js')
-rw-r--r--js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index abb22ed..c238c9a 100644
--- a/js/app.js
+++ b/js/app.js
@@ -146,3 +146,4 @@ var uploadInput = document.getElementById('upload-input');
uploadInput.addEventListener('change', uploadFiles);
uploadButton.addEventListener('click', selectFiles.bind(this, uploadInput));
uploadButton.addEventListener('drop', handleDragDrop.bind(this, state, uploadButton), false);
+document.getElementById('upload-form').classList.add('js');