FIX - работа с тач-интерефейсом
This commit is contained in:
parent
de3506fb63
commit
290d3fc815
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue