mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update channel db
This commit is contained in:
parent
abdf95b4d7
commit
519af58a6a
10 changed files with 91 additions and 60 deletions
|
@ -859,6 +859,8 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
var scrollX = false;
|
||||
|
||||
if (item.Type == "MusicAlbum") {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
|
@ -874,9 +876,12 @@
|
|||
|
||||
}
|
||||
else if (item.Type == "Series") {
|
||||
|
||||
scrollX = enableScrollX();
|
||||
|
||||
html = LibraryBrowser.getPosterViewHtml({
|
||||
items: result.Items,
|
||||
shape: "detailPagePortrait",
|
||||
shape: getPortraitShape(),
|
||||
showTitle: false,
|
||||
centerText: true,
|
||||
context: context,
|
||||
|
@ -911,6 +916,12 @@
|
|||
elem.innerHTML = html;
|
||||
ImageLoader.lazyChildren(elem);
|
||||
|
||||
if (scrollX) {
|
||||
elem.classList.add('hiddenScrollX');
|
||||
} else {
|
||||
elem.classList.remove('hiddenScrollX');
|
||||
}
|
||||
|
||||
if (item.Type == "BoxSet") {
|
||||
|
||||
var collectionItemTypes = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue