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

fix build

This commit is contained in:
Luke Pulverenti 2015-06-10 23:01:41 -04:00
parent f470541e59
commit b8f54a3174
5 changed files with 62 additions and 9 deletions

View file

@ -18,6 +18,14 @@
// If less than 100, the search window ends up not getting images
// If less than 200, this happens on the home page
// Need to fix those before this can be set to 0
// Non-ios browsers can generally handle a higher value and still perform well
// This helps eliminate the draw-in effect as you scroll
if (!$.browser.ipad && !$.browser.iphone) {
return 1000;
//return Math.max(screen.height, screen.width, 1000);
}
return 500;
}