mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-17 01:30:22 +08:00
fix issue 235 scrollbar detection
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user