diff --git a/layout-iscroll2.html b/layout-iscroll2.html index a2ecda2..55cb885 100755 --- a/layout-iscroll2.html +++ b/layout-iscroll2.html @@ -108,7 +108,7 @@ $(document).ready(function(){ var scrolling = false var _x = null var _t = null - USE_TRANSFORM = false + USE_TRANSFORM = true $('.viewer') .on('mousedown touchstart', function(){ @@ -122,9 +122,6 @@ $(document).ready(function(){ evt.preventDefault() var pos_x = event.touches[0].pageX - console.log(event.touches[0].pageX) - - if(_x == null){ _x = pos_x }