Skip to content

Commit 9aee1bb

Browse files
ENGCOM-4596: #21789 Fix gallery event observer #21790
- Merge Pull Request #21790 from magenius-team/magento2:fotorama-gallery-js - Merged commits: 1. 9b324e8 2. 55d5daa
2 parents 2bca2aa + 55d5daa commit 9aee1bb

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)