Skip to content

Commit 6e4fe74

Browse files
author
Mateusz Krzeszowiak
committed
Fix fullscreen gallery image swiping for touch devices
Fixes #25231
1 parent 419fbf3 commit 6e4fe74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/web/magnifier/magnify.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,8 +680,6 @@ define([
680680
$image.removeClass(imageDraggableClass);
681681
}
682682
} else if (gallery.fullScreen && (!transitionEnabled || !transitionActive)) {
683-
e.preventDefault();
684-
685683
imagePosY = getTop($image);
686684
imagePosX = $image.offset().left;
687685

0 commit comments

Comments
 (0)