mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Made that an ID
This commit is contained in:
parent
dca43e948e
commit
2a978df1a7
@ -58,7 +58,7 @@
|
||||
<div class="field" id="albumDiv" style="display: none">
|
||||
<p class="control select-wrapper">
|
||||
<span class="select">
|
||||
<select>
|
||||
<select id="albumSelect">
|
||||
<option value="">Upload to album</option>
|
||||
</select>
|
||||
</span>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user