client: fix library items not always expanding consistently

This commit is contained in:
Andrew Kelley 2014-03-31 18:27:49 -07:00
parent 057a2e8776
commit e02c986e86

View file

@ -777,6 +777,7 @@ function renderLibrary() {
var spanDom = divDom.children[1];
spanDom.textContent = artistDisplayName(artist.name);
var ulDom = domItem.children[1];
ulDom.style.display = 'block';
while (ulDom.firstChild) {
ulDom.removeChild(ulDom.firstChild);
}