From 2a978df1a7ab6bb5fbb4f6e9b6bd00cc515e3143 Mon Sep 17 00:00:00 2001 From: Pitu Date: Thu, 27 Apr 2017 04:47:08 -0300 Subject: Made that an ID --- public/js/home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/js') 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; -- cgit v1.2.3