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:
parent
b3df632164
commit
a37e0fb47a
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
|
||||||
|
|
||||||
// HACK: Ensure we are at the top
|
// HACK: Ensure we are at the top
|
||||||
// FIXME: Need a marker to scroll top/bottom
|
// FIXME: Need a marker to scroll top/bottom
|
||||||
if (scrollY < minimumScrollY()) {
|
if (scrollY < minimumScrollY() && yScroller === documentScroller) {
|
||||||
scrollY = 0;
|
scrollY = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue