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:
parent
0e7bda7bd0
commit
eed2084584
7 changed files with 4 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue