Skip to content

Commit

Permalink
Improve touch experience on IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgarcia committed May 20, 2013
1 parent ca0575c commit 8959582
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jquery.flexslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,10 @@
scrolling = (vertical) ? (Math.abs(accDx) < Math.abs(-transX)) : (Math.abs(accDx) < Math.abs(-transY));

if(e.detail === e.MSGESTURE_FLAG_INERTIA){
el._gesture.stop();
setTimeout(function (){
el._gesture.stop();
}, 0);
return;
}

if (!scrolling || Number(new Date()) - startT > 500) {
Expand Down

0 comments on commit 8959582

Please sign in to comment.