1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove this commented out code

This commit is contained in:
anantharaju 2023-04-03 10:43:19 +05:30
parent 0e7bda7bd0
commit eed2084584
7 changed files with 4 additions and 19 deletions

View file

@ -509,8 +509,6 @@ const scrollerFactory = function (frame, options) {
}
}
//event.preventDefault();
// Disable click on a source element, as it is unwelcome when dragging
if (!dragging.locked && dragging.path > dragging.pathToLock) {
dragging.locked = 1;
@ -606,7 +604,7 @@ const scrollerFactory = function (frame, options) {
if (transform) {
// Trap scrolling only when necessary and/or requested
if (delta > 0 && pos.dest < pos.end || delta < 0 && pos.dest > pos.start) {
//stopDefault(event, 1);
}
self.slideBy(o.scrollBy * delta);