1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

only show gallery when there's something to show

This commit is contained in:
Luke Pulverenti 2013-04-16 23:10:05 -04:00
parent 21a8644607
commit 701be2b831
4 changed files with 67 additions and 1 deletions

View file

@ -44,6 +44,12 @@
$('#playButtonShadow', page).hide();
$('#btnQueueMenu', page).hide();
}
if (LibraryBrowser.shouldDisplayGallery(item)) {
$('#galleryCollapsible', page).show();
} else {
$('#galleryCollapsible', page).hide();
}
Dashboard.hideLoadingMsg();
});