fix issue 235 scrollbar detection

v1.4.x
Tanguy Pruvot 2010-09-17 06:17:03 +08:00 committed by Adam Shaw
parent 770f5ff0ba
commit 86cc3bdbda
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function Agenda(element, options, methods, viewName) {
setOuterWidth(stripeTDs.slice(0, -1), colWidth);
setOuterWidth(topTDs.slice(1, -2), colWidth);
var scrollbar=body.get().scrollHeight!=body.get().clientHeight;
var scrollbar=body[0].scrollHeight!=body[0].clientHeight;
if (scrollbar) {
setOuterWidth(topTDs.slice(-2, -1), clientWidth - axisWidth - colWidth*(colCnt-1));