Fixing linting errors
This commit is contained in:
@@ -51,10 +51,6 @@ import Events from '../utils/events.ts';
|
||||
return true;
|
||||
}
|
||||
|
||||
if (browser.edge && mediaType === 'Video') {
|
||||
|
||||
}
|
||||
|
||||
// simple playback should use the native support
|
||||
if (runTimeTicks) {
|
||||
return false;
|
||||
|
||||
@@ -602,11 +602,6 @@ const scrollerFactory = function (frame, options) {
|
||||
let delta = normalizeWheelDelta(event);
|
||||
|
||||
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);
|
||||
} else {
|
||||
if (isSmoothScrollSupported) {
|
||||
|
||||
Reference in New Issue
Block a user