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

3.0.5641.4

This commit is contained in:
Luke Pulverenti 2015-06-15 00:17:12 -04:00
parent 3b403bc22d
commit 46776f1eac
9 changed files with 122 additions and 282 deletions

View file

@ -19,14 +19,10 @@
// 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);
}
var screens = $.browser.mobile ? 2 : 1;
return 500;
// This helps eliminate the draw-in effect as you scroll
return screen.availHeight * screens;
}
$.fn.unveil = function () {