Fix typo in touch handler.
This commit is contained in:
parent
a52a945226
commit
b000c771af
@ -34,7 +34,7 @@ function bindTouchHandler(element, i, supportsTouch, supportsIePointer) {
|
||||
|
||||
function applyTouchMove(differenceX, differenceY) {
|
||||
element.scrollTop = element.scrollTop - differenceY;
|
||||
element.scrollLeft = element.scrollLeft() - differenceX;
|
||||
element.scrollLeft = element.scrollLeft - differenceX;
|
||||
|
||||
updateGeometry(element);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user