mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Update src/components/scrollManager.js
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
parent
a37e0fb47a
commit
1d045d172b
@ -163,7 +163,7 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
|
||||
|
||||
while (parent) {
|
||||
if ((!vertical && parent.scrollWidth > parent.clientWidth && parent.classList.contains("scrollX")) ||
|
||||
(vertical && parent.scrollHeight > parent.clientHeight) && parent.classList.contains("scrollY")) {
|
||||
(vertical && parent.scrollHeight > parent.clientHeight && parent.classList.contains("scrollY"))) {
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user