diff --git a/index.html b/index.html index 24b3f67..a8c1b28 100755 --- a/index.html +++ b/index.html @@ -43,11 +43,17 @@ $(document).ready(function(){ }, pinchIn: function(event, direction, distance, duration, fingerCount, pinchZoom) { + if(pinchZoom < distance){ + return + } if(fingerCount == 2){ togglePageView('on') } }, pinchOut: function(event, direction, distance, duration, fingerCount, pinchZoom) { + if(pinchZoom < distance){ + return + } if(fingerCount == 2){ togglePageView('off') }