Skip to content

Commit a1468c5

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-44371' into PR
2 parents ff4e2c4 + 41ce114 commit a1468c5

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)