Skip to content

Commit

Permalink
[2.1.0] Problem on mobile when catalog gallery allowfullscreen is false
Browse files Browse the repository at this point in the history
  • Loading branch information
Crossmotion authored Feb 6, 2017
1 parent 06dd04b commit 347a265
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 @@ -143,7 +143,7 @@ define([
}
});

if (this.isTouchEnabled) {
if (this.isTouchEnabled && this.settings.isFullscreen) {
this.settings.$element.on('tap', '.fotorama__stage__frame', function () {
var translate = getTranslate($(this).parents('.fotorama__stage__shaft'));

Expand Down

0 comments on commit 347a265

Please sign in to comment.