mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove scroller changes
This commit is contained in:
parent
b113f25327
commit
ccfaf11218
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'sc
|
||||||
// in cases with firefox, if the smooth scroll api is supported then use that because their implementation is very good
|
// in cases with firefox, if the smooth scroll api is supported then use that because their implementation is very good
|
||||||
if (options.allowNativeScroll === false) {
|
if (options.allowNativeScroll === false) {
|
||||||
options.enableNativeScroll = false;
|
options.enableNativeScroll = false;
|
||||||
} else if (isSmoothScrollSupported && (browser.firefox || options.allowNativeSmoothScroll)) {
|
} else if (isSmoothScrollSupported && ((browser.firefox && !layoutManager.tv) || options.allowNativeSmoothScroll)) {
|
||||||
// native smooth scroll
|
// native smooth scroll
|
||||||
options.enableNativeScroll = true;
|
options.enableNativeScroll = true;
|
||||||
} else if (options.requireAnimation && (browser.animate || browser.supportsCssAnimation())) {
|
} else if (options.requireAnimation && (browser.animate || browser.supportsCssAnimation())) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue