mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix build
This commit is contained in:
parent
f470541e59
commit
b8f54a3174
5 changed files with 62 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue