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

Fix minimumScrollY hack

This commit is contained in:
Dmitry Lyzo 2019-11-21 21:48:35 +03:00
parent b3df632164
commit a37e0fb47a

View file

@ -478,7 +478,7 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
// HACK: Ensure we are at the top
// FIXME: Need a marker to scroll top/bottom
if (scrollY < minimumScrollY()) {
if (scrollY < minimumScrollY() && yScroller === documentScroller) {
scrollY = 0;
}