Skip to content

Commit

Permalink
feat(tap): Make TAP_RELEASE_TOLERANCE configurable
Browse files Browse the repository at this point in the history
Setter for TAP_RELEASE_TOLERANCE so the default can be changed. Closes
#1362
  • Loading branch information
Adam Bradley committed May 13, 2014
1 parent 1b1c234 commit 2736993
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ ionic.tap = {
}
}
return false;
},

setTolerance: function(val) {
TAP_RELEASE_TOLERANCE = val;
}

};
Expand Down

0 comments on commit 2736993

Please sign in to comment.