From 86cc3bdbda9f1dd5f8e4ce8d4d784656aa939181 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Fri, 17 Sep 2010 06:17:03 +0800 Subject: [PATCH] fix issue 235 scrollbar detection --- src/agenda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda.js b/src/agenda.js index 8310393..a8aa87e 100644 --- a/src/agenda.js +++ b/src/agenda.js @@ -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));