summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/vendor/imageviewer.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/vendor/imageviewer.js')
-rw-r--r--StoneIsland/www/js/vendor/imageviewer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/StoneIsland/www/js/vendor/imageviewer.js b/StoneIsland/www/js/vendor/imageviewer.js
index 4484b753..847c6070 100644
--- a/StoneIsland/www/js/vendor/imageviewer.js
+++ b/StoneIsland/www/js/vendor/imageviewer.js
@@ -404,6 +404,9 @@
var touchtime = 0,
point;
imageWrap.on('click' + eventSuffix, function (e) {
+ if (openTime+700 < Date.now()) {
+ return $('.iv-close').trigger("click")
+ }
if (touchtime == 0) {
touchtime = Date.now();
point = {