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">
|
<div class="field" id="albumDiv" style="display: none">
|
||||||
<p class="control select-wrapper">
|
<p class="control select-wrapper">
|
||||||
<span class="select">
|
<span class="select">
|
||||||
<select>
|
<select id="albumSelect">
|
||||||
<option value="">Upload to album</option>
|
<option value="">Upload to album</option>
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</span>
|
||||||
|
@ -63,7 +63,7 @@ upload.verifyToken = function(token, reloadOnError){
|
|||||||
upload.prepareUpload = function(){
|
upload.prepareUpload = function(){
|
||||||
// I think this fits best here because we need to check for a valid token before we can get the albums
|
// I think this fits best here because we need to check for a valid token before we can get the albums
|
||||||
if (upload.token) {
|
if (upload.token) {
|
||||||
var select = document.querySelector('select');
|
var select = document.getElementById('albumSelect');
|
||||||
|
|
||||||
select.addEventListener('change', function() {
|
select.addEventListener('change', function() {
|
||||||
upload.album = select.value;
|
upload.album = select.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user