Skip to content

Commit 011443f

Browse files
author
Magento CICD
authored
MAGETWO-64250: [GitHub][PR] magento/magento2 #8434 Problem on mobile when catalog gallery allowfullscreen is false #5808
2 parents b238b01 + 459a114 commit 011443f

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
@@ -150,7 +150,7 @@ define([
150150
}
151151
});
152152

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

0 commit comments

Comments
 (0)