fix artist detail page

This commit is contained in:
Luke Pulverenti 2016-07-12 00:08:13 -04:00
parent 9d39c1e3ee
commit 8eddeea1a9

View File

@ -298,9 +298,7 @@
var section = page.querySelector('.nextUpSection');
var userData = item.UserData || {};
if (item.Type != 'Series' || !userData.PlayedPercentage) {
if (item.Type != 'Series') {
section.classList.add('hide');
return;
}
@ -500,7 +498,7 @@
}
var artist = page.querySelectorAll('.artist');
for (i = 0, length = itemMiscInfo.length; i < length; i++) {
for (i = 0, length = artist.length; i < length; i++) {
if (item.ArtistItems && item.ArtistItems.length && item.Type != "MusicAlbum") {
artist[i].classList.remove('hide');
artist[i].innerHTML = getArtistLinksHtml(item.ArtistItems, context);