Fixed a swipe error

This commit is contained in:
Tobias Reich 2014-04-01 22:42:12 +02:00
parent 605ef84c0b
commit 02e77b8aea
2 changed files with 2 additions and 2 deletions

View File

@ -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