fix for browser_overflowScroll.js

This commit is contained in:
Dão Gottwald
2010-06-14 10:57:23 +02:00
parent cbe6cbe586
commit e1169b0cfc

View File

@@ -5,8 +5,8 @@ var originalSmoothScroll = tabstrip.smoothScroll;
function rect(ele) ele.getBoundingClientRect();
function width(ele) rect(ele).width;
function left(ele) rect(ele).left;
function right(ele) rect(ele).right;
function left(ele) Math.round(rect(ele).left);
function right(ele) Math.round(rect(ele).right);
function isLeft(ele, msg) is(left(ele), left(scrollbox), msg);
function isRight(ele, msg) is(right(ele), right(scrollbox), msg);
function elementFromPoint(x) tabstrip._elementFromPoint(x);