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:
parent
92a6a23c56
commit
9f20ecb9ba
11 changed files with 143 additions and 84 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue