fix for browser_overflowScroll.js

This commit is contained in:
Dão Gottwald 2010-06-14 10:57:23 +02:00
Родитель cf46ba1854
Коммит 6beab8375e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);