Skip to content

Commit

Permalink
Fix for issue #324
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhorwitz committed Aug 8, 2013
1 parent c9b41c1 commit 35a7bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gestures.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Hammer.gestures.Tap = {
doubletap_interval : 300
},
handler: function tapGesture(ev, inst) {
if(ev.eventType == Hammer.EVENT_END) {
if(ev.eventType == Hammer.EVENT_END && ev.srcEvent.type != 'touchcancel') {
// previous gesture, for the double tap since these are two different gesture detections
var prev = Hammer.detection.previous,
did_doubletap = false;
Expand Down

0 comments on commit 35a7bee

Please sign in to comment.