From 2736993083978ca23e356ae530aed1c761ff45dc Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 13 May 2014 11:13:03 -0500 Subject: [PATCH] feat(tap): Make TAP_RELEASE_TOLERANCE configurable Setter for TAP_RELEASE_TOLERANCE so the default can be changed. Closes #1362 --- js/utils/tap.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/utils/tap.js b/js/utils/tap.js index dd20968b0fc..a1aa24c2b55 100644 --- a/js/utils/tap.js +++ b/js/utils/tap.js @@ -232,6 +232,10 @@ ionic.tap = { } } return false; + }, + + setTolerance: function(val) { + TAP_RELEASE_TOLERANCE = val; } };