diff --git a/static/musik.js b/static/musik.js index b1a3382..659036a 100644 --- a/static/musik.js +++ b/static/musik.js @@ -30,6 +30,7 @@ function select_artist(select) { html_str += ''; } document.getElementById('albumList').innerHTML = html_str; + document.getElementById('trackList').innerHTML = ''; }; httpRequest.open('GET', api_uri + '?artist=' + select.value, true); httpRequest.send();