Skip to content

Commit 49d8bf7

Browse files
committed
ACP2E-3029: [Cloud] Mobile Issue Only not able to pinch on the PDP image
1 parent e8bcce7 commit 49d8bf7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/web/magnifier/magnify.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ define([
520520
* Method which makes draggable picture. Also work on touch devices.
521521
*/
522522
function magnifierFullscreen(fotorama) {
523-
tapFlag = new Date().getTime();
523+
tapFlag = 0;
524524
var isDragActive = false,
525525
startX,
526526
startY,
@@ -642,9 +642,7 @@ define([
642642
if (timesince > 10 && (isTouchEnabled && timesince < 400) || (!isTouchEnabled && timesince < 2000)) {
643643
transitionActive = false;
644644
dblClickHandler(e);
645-
tapFlag = now;
646645
}
647-
648646
tapFlag = now;
649647
}
650648

0 commit comments

Comments
 (0)