Skip to content

Commit

Permalink
revert earlier changes to jqtouch.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shawndrost committed Jul 30, 2012
1 parent 640c801 commit b47b7c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/jqtouch.js
Expand Up @@ -139,7 +139,6 @@
warn('Converting click event to a tap event because touch handlers are not present or off');
$(e.target).trigger('tap', e);
}
return true;
}
function doNavigation(fromPage, toPage, animation, goingBack) {

Expand Down Expand Up @@ -598,7 +597,7 @@
// Make sure we have a tappable element
if (!$el.length || !$el.prop('href')) {
warn('Could not find a link related to tapped element');
return true;
return false;
}

// Unselect this element and return if this is an external link
Expand Down

0 comments on commit b47b7c2

Please sign in to comment.