Skip to content

Commit 1e111b5

Browse files
authored
ENGCOM-4596: #21789 Fix gallery event observer #21790
2 parents 87d0c7d + 9aee1bb commit 1e111b5

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('mousedown', '.fotorama__stage__frame', function () {
144+
this.settings.$element.on('click', '.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)