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

created a separate gallery page

This commit is contained in:
Luke Pulverenti 2013-05-31 21:48:41 -04:00
parent 92a6a23c56
commit 9f20ecb9ba
11 changed files with 143 additions and 84 deletions

View file

@ -119,12 +119,6 @@
else {
$('#childrenCollapsible', page).addClass('hide');
}
if (LibraryBrowser.shouldDisplayGallery(item)) {
$('#galleryCollapsible', page).show();
renderGallery(page, item);
} else {
$('#galleryCollapsible', page).hide();
}
if (item.MediaStreams && item.MediaStreams.length) {
renderMediaInfo(page, item);
@ -607,13 +601,6 @@
$('#scenesContent', page).html(html).trigger('create');
}
function renderGallery(page, item) {
var html = LibraryBrowser.getGalleryHtml(item);
$('#galleryContent', page).html(html).trigger('create');
}
function renderMediaInfo(page, item) {
var html = '';