Use correct offset

This commit is contained in:
Tobias Reich 2014-03-26 23:56:22 +01:00
parent 541130483b
commit 47d2e83a6c
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -29,9 +29,9 @@ swipe = {
swipe.offset = -1 * e.x;
swipe.obj.css({
WebkitTransform: 'translateX(' + offset + 'px)',
MozTransform: 'translateX(' + offset + 'px)',
transform: 'translateX(' + offset + 'px)'
WebkitTransform: 'translateX(' + swipe.offset + 'px)',
MozTransform: 'translateX(' + swipe.offset + 'px)',
transform: 'translateX(' + swipe.offset + 'px)'
});
},