fix for calendar rendering problems.

This commit is contained in:
Naomi 2011-01-31 13:50:37 -05:00
parent 24da57ae4f
commit 8d3482b851
5 changed files with 14 additions and 14 deletions

View file

@ -256,9 +256,12 @@ $(document).ready(function() {
});
var mainHeight = document.documentElement.clientHeight - 200 - 50;
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
});
$(window).load(function() {
var mainHeight = document.documentElement.clientHeight - 200 - 50;
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
$('#schedule_calendar').fullCalendar('render');
});