From 7f17e93738d822d14ddceadf892f7b1af65c8a0d Mon Sep 17 00:00:00 2001
From: Luke Pulverenti
diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index b9c94c1834..ae0ba3a146 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -279,7 +279,7 @@ SortOrder: "Descending", MediaTypes: "Video", Filters: "IsResumable", - Limit: (screenWidth >= 1200 ? 9 : 6), + Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1200 ? 9 : 6), Recursive: true, Fields: "PrimaryImageAspectRatio", CollapseBoxSetItems: false, diff --git a/dashboard-ui/scripts/musicrecommended.js b/dashboard-ui/scripts/musicrecommended.js index 8c423f9b42..8f18398e5a 100644 --- a/dashboard-ui/scripts/musicrecommended.js +++ b/dashboard-ui/scripts/musicrecommended.js @@ -11,7 +11,7 @@ var options = { IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 15 : (screenWidth >= 1200 ? 10 : 12), + Limit: screenWidth >= 1920 ? 18 : (screenWidth >= 1200 ? 10 : 12), Fields: "PrimaryImageAspectRatio", ParentId: parentId }; @@ -34,7 +34,7 @@ SortBy: "DatePlayed", SortOrder: "Descending", IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 5 : (screenWidth >= 1200 ? 5 : 6), + Limit: screenWidth >= 1920 ? 6 : (screenWidth >= 1200 ? 5 : 6), Recursive: true, Fields: "PrimaryImageAspectRatio,AudioInfo", Filters: "IsPlayed", @@ -64,7 +64,7 @@ SortBy: "PlayCount", SortOrder: "Descending", IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1200 ? 10 : 12), + Limit: screenWidth >= 1920 ? 12 : (screenWidth >= 1200 ? 10 : 12), Recursive: true, Fields: "PrimaryImageAspectRatio,AudioInfo", Filters: "IsPlayed", |