parent
ca4d835129
commit
fc28ceb4ea
@ -28,6 +28,8 @@ function bindClickRailHandler(element, i) {
|
|||||||
|
|
||||||
element.scrollTop = (i.contentHeight - i.containerHeight) * positionRatio;
|
element.scrollTop = (i.contentHeight - i.containerHeight) * positionRatio;
|
||||||
updateGeometry(element);
|
updateGeometry(element);
|
||||||
|
|
||||||
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
i.event.bind(i.scrollbarX, 'click', stopPropagation);
|
i.event.bind(i.scrollbarX, 'click', stopPropagation);
|
||||||
@ -45,6 +47,8 @@ function bindClickRailHandler(element, i) {
|
|||||||
|
|
||||||
element.scrollLeft = (i.contentWidth - i.containerWidth) * positionRatio;
|
element.scrollLeft = (i.contentWidth - i.containerWidth) * positionRatio;
|
||||||
updateGeometry(element);
|
updateGeometry(element);
|
||||||
|
|
||||||
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user