diff options
| author | Pitu <[email protected]> | 2017-04-27 04:47:08 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-04-27 04:47:08 -0300 |
| commit | 2a978df1a7ab6bb5fbb4f6e9b6bd00cc515e3143 (patch) | |
| tree | 1f61f4068cd077097b72ccaf24956d742386d935 /public | |
| parent | Derp (diff) | |
| download | host.fuwn.me-2a978df1a7ab6bb5fbb4f6e9b6bd00cc515e3143.tar.xz host.fuwn.me-2a978df1a7ab6bb5fbb4f6e9b6bd00cc515e3143.zip | |
Made that an ID
Diffstat (limited to 'public')
| -rw-r--r-- | public/js/home.js | 2 |
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; |