Skip to content

Commit ab695e0

Browse files
committed
Backport of MAGETWO-64250 for Magento 2.1: Problem on mobile when catalog gallery allowfullscreen is false
1 parent e719669 commit ab695e0

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
@@ -143,7 +143,7 @@ define([
143143
}
144144
});
145145

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

0 commit comments

Comments
 (0)