Skip to content

Commit

Permalink
ENGCOM-4564: Fix gallery full-screen triggers #21919
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Mar 26, 2019
2 parents 6e0e2ad + 0b0a955 commit 941d6ea
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('mousedown', '.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 941d6ea

Please sign in to comment.