using innerheight property.
This commit is contained in:
parent
97be2562b5
commit
275e31cb77
1 changed files with 3 additions and 1 deletions
|
@ -258,7 +258,9 @@ $(document).ready(function() {
|
||||||
|
|
||||||
$(window).load(function(){
|
$(window).load(function(){
|
||||||
|
|
||||||
var mainHeight = this.screen.height - 275 - 140 - 50;
|
//var mainHeight = this.screen.height - 275 - 140 - 50;
|
||||||
|
alert(this.innerHeight);
|
||||||
|
var mainHeight = this.innerHeight - 200 - 50;
|
||||||
|
|
||||||
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue