Use correct offset
This commit is contained in:
parent
541130483b
commit
47d2e83a6c
File diff suppressed because one or more lines are too long
@ -29,9 +29,9 @@ swipe = {
|
|||||||
swipe.offset = -1 * e.x;
|
swipe.offset = -1 * e.x;
|
||||||
|
|
||||||
swipe.obj.css({
|
swipe.obj.css({
|
||||||
WebkitTransform: 'translateX(' + offset + 'px)',
|
WebkitTransform: 'translateX(' + swipe.offset + 'px)',
|
||||||
MozTransform: 'translateX(' + offset + 'px)',
|
MozTransform: 'translateX(' + swipe.offset + 'px)',
|
||||||
transform: 'translateX(' + offset + 'px)'
|
transform: 'translateX(' + swipe.offset + 'px)'
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user