selecting an artist wipes tracklist pane
This commit is contained in:
parent
9f96393eaf
commit
8bbf33259d
|
@ -30,6 +30,7 @@ function select_artist(select) {
|
|||
html_str += '<option value="' + nav_items[i] + '">' + nav_items[i] + '</option>';
|
||||
}
|
||||
document.getElementById('albumList').innerHTML = html_str;
|
||||
document.getElementById('trackList').innerHTML = '';
|
||||
};
|
||||
httpRequest.open('GET', api_uri + '?artist=' + select.value, true);
|
||||
httpRequest.send();
|
||||
|
|
Loading…
Reference in New Issue
Block a user