mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fixing linting errors
This commit is contained in:
parent
e492741618
commit
5df9fa8087
2 changed files with 0 additions and 9 deletions
|
@ -51,10 +51,6 @@ import Events from '../utils/events.ts';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (browser.edge && mediaType === 'Video') {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// simple playback should use the native support
|
// simple playback should use the native support
|
||||||
if (runTimeTicks) {
|
if (runTimeTicks) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -602,11 +602,6 @@ const scrollerFactory = function (frame, options) {
|
||||||
let delta = normalizeWheelDelta(event);
|
let delta = normalizeWheelDelta(event);
|
||||||
|
|
||||||
if (transform) {
|
if (transform) {
|
||||||
// Trap scrolling only when necessary and/or requested
|
|
||||||
if (delta > 0 && pos.dest < pos.end || delta < 0 && pos.dest > pos.start) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
self.slideBy(o.scrollBy * delta);
|
self.slideBy(o.scrollBy * delta);
|
||||||
} else {
|
} else {
|
||||||
if (isSmoothScrollSupported) {
|
if (isSmoothScrollSupported) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue