We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8bcce7 commit 49d8bf7Copy full SHA for 49d8bf7
lib/web/magnifier/magnify.js
@@ -520,7 +520,7 @@ define([
520
* Method which makes draggable picture. Also work on touch devices.
521
*/
522
function magnifierFullscreen(fotorama) {
523
- tapFlag = new Date().getTime();
+ tapFlag = 0;
524
var isDragActive = false,
525
startX,
526
startY,
@@ -642,9 +642,7 @@ define([
642
if (timesince > 10 && (isTouchEnabled && timesince < 400) || (!isTouchEnabled && timesince < 2000)) {
643
transitionActive = false;
644
dblClickHandler(e);
645
- tapFlag = now;
646
}
647
-
648
tapFlag = now;
649
650
0 commit comments