Skip to content

Commit

Permalink
[BUG] Fix gallery event observer
Browse files Browse the repository at this point in the history
  • Loading branch information
Den4ik committed Mar 27, 2019
1 parent 212a533 commit 9b324e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/mage/gallery/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ define([
this.setupBreakpoints();
this.initFullscreenSettings();

this.settings.$element.on('mouseup', '.fotorama__stage__frame', function () {
this.settings.$element.on('click', '.fotorama__stage__frame', function () {
if (
!$(this).parents('.fotorama__shadows--left, .fotorama__shadows--right').length &&
!$(this).hasClass('fotorama-video-container')
Expand Down

0 comments on commit 9b324e8

Please sign in to comment.