Skip to content

Commit 41ce114

Browse files
committed
MAGETWO-44371: [iphone6+, iphone5] "Full Screen" Gallery on mobile wrong behaviour
1 parent 02e0378 commit 41ce114

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,14 +2229,9 @@ fotoramaVersion = '4.6.4';
22292229
stageLeft = 0,
22302230

22312231
fadeStack = [];
2232-
if (Modernizr.touch) {
2233-
$wrap[STAGE_FRAME_KEY] = $('<a class="' + stageFrameClass + '" target="_blank"></a>');
2234-
} else {
2235-
$wrap[STAGE_FRAME_KEY] = $('<div class="' + stageFrameClass + '"></div>');
2236-
}
22372232

2233+
$wrap[STAGE_FRAME_KEY] = $('<div class="' + stageFrameClass + '"></div>');
22382234
$wrap[NAV_THUMB_FRAME_KEY] = $($.Fotorama.jst.thumb());
2239-
22402235
$wrap[NAV_DOT_FRAME_KEY] = $($.Fotorama.jst.dots());
22412236

22422237
toDeactivate[STAGE_FRAME_KEY] = [];

0 commit comments

Comments
 (0)