mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tv view
This commit is contained in:
parent
e73b3a1603
commit
464dca5b92
5 changed files with 104 additions and 119 deletions
|
@ -75,7 +75,7 @@
|
|||
|
||||
function loadResume(page, userId, parentId) {
|
||||
|
||||
var screenWidth = $(window).width();
|
||||
var screenWidth = window.innerWidth;
|
||||
|
||||
var options = {
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
|||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Movie",
|
||||
Filters: "IsResumable",
|
||||
Limit: screenWidth >= 1920 ? 6 : (screenWidth >= 1600 ? 4 : 3),
|
||||
Limit: screenWidth >= 1920 ? 5 : (screenWidth >= 1600 ? 4 : 3),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio,MediaSourceCount,SyncInfo",
|
||||
CollapseBoxSetItems: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue