mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix image loading
This commit is contained in:
parent
46776f1eac
commit
0d59297b1b
86 changed files with 5857 additions and 273 deletions
|
@ -19,10 +19,14 @@
|
|||
// If less than 200, this happens on the home page
|
||||
// Need to fix those before this can be set to 0
|
||||
|
||||
if (window.AppInfo && AppInfo.isNativeApp && $.browser.safari) {
|
||||
return 10000;
|
||||
}
|
||||
|
||||
var screens = $.browser.mobile ? 2 : 1;
|
||||
|
||||
// This helps eliminate the draw-in effect as you scroll
|
||||
return screen.availHeight * screens;
|
||||
return Math.max(screen.availHeight * screens, 1000);
|
||||
}
|
||||
|
||||
$.fn.unveil = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue