From 290d3fc815e3ead4847383f15ada2226450da6b9 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Tue, 22 Dec 2015 22:46:31 +0300 Subject: [PATCH] =?UTF-8?q?FIX=20-=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0?= =?UTF-8?q?=20=D1=81=20=D1=82=D0=B0=D1=87-=D0=B8=D0=BD=D1=82=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D1=84=D0=B5=D0=B9=D1=81=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/map.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/public/js/map.js b/public/js/map.js index 0229565..fcf5390 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -468,7 +468,7 @@ window.addEventListener('load', function(){ startX, startY, dist, - threshold = 80, + threshold = 50, allowedTime = 200, elapsedTime, startTime; @@ -479,11 +479,6 @@ window.addEventListener('load', function(){ startX = touchobj.pageX; startY = touchobj.pageY; startTime = new Date().getTime(); - e.preventDefault(); - }, false); - - touchsurface.addEventListener('touchmove', function(e){ - e.preventDefault(); }, false); touchsurface.addEventListener('touchend', function(e){ @@ -495,8 +490,6 @@ window.addEventListener('load', function(){ if(swiperightBol) { closeBox(); } - - e.preventDefault(); }, false); }, false);