From 9928a6d92572fc52c100deb0389a8cec949d1365 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Thu, 3 Oct 2013 12:11:33 -0700 Subject: [PATCH] Fix for touch event issue #240 --- src/mousetracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 5161c879..66e2a458 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1020,7 +1020,7 @@ function onMouseUpCaptured( tracker, event, noRelease, isTouch ) { isTouch = isTouch || false; - if ( !THIS[ tracker.hash ].insideElement ) { + if ( !THIS[ tracker.hash ].insideElement || isTouch ) { onMouseUp( tracker, event, isTouch ); }