Skip to content

Commit

Permalink
Revert "return if more than one finger is detected (thanks Ibe Van Di…
Browse files Browse the repository at this point in the history
…jck)"

This reverts commit 7612ca9.
  • Loading branch information
Brad Birdsall committed Nov 11, 2011
1 parent 7612ca9 commit af1beec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions swipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,6 @@ Swipe.prototype = {
},

onTouchMove: function(e) {

// ensure swiping with one touch and not pinching
if(e.touches.length > 1 || e.scale !== 1) return;

this.deltaX = e.touches[0].pageX - this.start.pageX;

Expand Down
2 changes: 1 addition & 1 deletion swipe.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af1beec

Please sign in to comment.