Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Commit 2fe4400

Browse files
PatPat
Pat
authored and
Pat
committed
Update af.touchEvents.js
1 parent b9294e8 commit 2fe4400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/af.touchEvents.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
touch.el.trigger("doubleTap");
109109
touch = {};
110110
} else if ((touch.x2 > 0 || touch.y2 > 0) && (Math.abs(touch.x1 - touch.x2) > 30 || Math.abs(touch.y1 - touch.y2) > 30)) {
111-
touch.el.trigger("swipe");
111+
touch.el.trigger("swipe");
112112
//touch.el.trigger("swipe" + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2)), touch);
113113
//@TODO - don't dispatch when you need to block it (scrolling areas)
114114
var direction= (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2));

0 commit comments

Comments
 (0)