Skip to content

Commit 941d6ea

Browse files
authored
ENGCOM-4564: Fix gallery full-screen triggers #21919
2 parents 6e0e2ad + 0b0a955 commit 941d6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/gallery/gallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ define([
141141
this.setupBreakpoints();
142142
this.initFullscreenSettings();
143143

144-
this.settings.$element.on('mouseup', '.fotorama__stage__frame', function () {
144+
this.settings.$element.on('mousedown', '.fotorama__stage__frame', function () {
145145
if (
146146
!$(this).parents('.fotorama__shadows--left, .fotorama__shadows--right').length &&
147147
!$(this).hasClass('fotorama-video-container')

0 commit comments

Comments
 (0)