aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/home.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/home.js b/public/js/home.js
index b71943b..2ec27e7 100644
--- a/public/js/home.js
+++ b/public/js/home.js
@@ -63,7 +63,7 @@ upload.verifyToken = function(token, reloadOnError){
upload.prepareUpload = function(){
// I think this fits best here because we need to check for a valid token before we can get the albums
if (upload.token) {
- var select = document.querySelector('select');
+ var select = document.getElementById('albumSelect');
select.addEventListener('change', function() {
upload.album = select.value;