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:
parent
3b403bc22d
commit
46776f1eac
9 changed files with 122 additions and 282 deletions
10
dashboard-ui/thirdparty/jquery.unveil-custom.js
vendored
10
dashboard-ui/thirdparty/jquery.unveil-custom.js
vendored
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue