Fixed a swipe error
This commit is contained in:
parent
605ef84c0b
commit
02e77b8aea
@ -44,7 +44,7 @@ swipe = {
|
|||||||
|
|
||||||
if (e.x<=-swipe.tolerance) left(true);
|
if (e.x<=-swipe.tolerance) left(true);
|
||||||
else if (e.x>=swipe.tolerance) right(true);
|
else if (e.x>=swipe.tolerance) right(true);
|
||||||
else {
|
else if (swipe.obj!==null) {
|
||||||
console.log('reset');
|
console.log('reset');
|
||||||
swipe.obj.css({
|
swipe.obj.css({
|
||||||
WebkitTransform: 'translateX(0px)',
|
WebkitTransform: 'translateX(0px)',
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user