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);