Skip to content

Commit e08ded8

Browse files
author
Stanislav Idolov
authored
ENGCOM-903: [Backport 2.1] MAGETWO-64250 Problem on mobile when catalog gallery allowfullscreen is false #14098
2 parents 9d0201f + 488dd28 commit e08ded8

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)