1
0
Fork 0
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:
anantharaju 2023-04-13 05:10:42 +05:30
parent e492741618
commit 5df9fa8087
2 changed files with 0 additions and 9 deletions

View file

@ -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;

View file

@ -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) {