Skip to content

Commit

Permalink
Remove stray weird unicode empty character that caused trouble loadin…
Browse files Browse the repository at this point in the history
…g touch.js
  • Loading branch information
madrobby committed Oct 1, 2013
1 parent b328a9b commit c81da65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
else if ('last' in touch)
// don't fire tap when delta position changed by more than 30 pixels,
// for instance when moving to a point and back to origin
if (deltaX < 30 && deltaY < 30) {
if (deltaX < 30 && deltaY < 30) {
// delay by one tick so we can cancel the 'tap' event if 'scroll' fires
// ('tap' fires before 'scroll')
tapTimeout = setTimeout(function() {
Expand Down

0 comments on commit c81da65

Please sign in to comment.