fix for calendar rendering problems.
This commit is contained in:
parent
24da57ae4f
commit
8d3482b851
5 changed files with 14 additions and 14 deletions
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue