Permalink
Browse files

Merge pull request #23 from Timak304/handleGestureChange

Fix handleGestureChange
  • Loading branch information...
fisherwebdev committed May 15, 2014
2 parents 567b298 + 19565ea commit 37a29b6a18bc2ef72214b11ad776520a8600d45d
Showing with 2 additions and 3 deletions.
  1. +2 −3 jquery.touchy.js
View
@@ -364,13 +364,12 @@
$target = getTarget(e, eventType);
if ($target) {
var $target = $(e.target),
event = e.originalEvent,
var event = e.originalEvent,
touches = event.touches,
camelDataName = 'touchy' + eventType.charAt(0).toUpperCase() + eventType.slice(1),
data = $target.data(camelDataName);
if (data.preventDefault.move) {
if (data.settings.preventDefault.move) {
event.preventDefault();
}

0 comments on commit 37a29b6

Please sign in to comment.