Skip to content

Commit

Permalink
Fix non-chrome pan-x|y checks
Browse files Browse the repository at this point in the history
Fixes #1520
  • Loading branch information
dfreedm committed May 13, 2015
1 parent b7e6f11 commit 275b876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/standard/gestures.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@
} else if (ta === 'none') {
prevent = true;
} else if (ta === 'pan-x') {
prevent = dx >= dy;
} else if (ta === 'pan-y') {
prevent = dy > dx;
} else if (ta === 'pan-y') {
prevent = dx > dy;
}
if (prevent) {
ev.preventDefault();
Expand Down

0 comments on commit 275b876

Please sign in to comment.