selecting an artist wipes tracklist pane

This commit is contained in:
iou1name 2019-02-07 09:33:35 -05:00
parent 9f96393eaf
commit 8bbf33259d

View File

@ -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();