Skip to content

Commit 69b9fc9

Browse files
author
Andrew Page
committed
unless _last?
Thx @soyjavi
1 parent 8dd94e4 commit 69b9fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/quo.gestures.swipe.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Quo.Gestures.add
3939
_last = null
4040

4141
cancel = end = (target, data) ->
42-
if not _last? or _last is `undefined`
42+
unless _last?
4343
if data.length >= 1
4444
delta =
4545
x: data[0].x - _start.x

0 commit comments

Comments
 (0)