only use height: auto for week and day view

This commit is contained in:
Mario Vavti
2016-06-17 11:57:36 +02:00
parent f6d7628254
commit aa5ac9dc3f
3 changed files with 8 additions and 3 deletions

View File

@@ -28,6 +28,6 @@ function on_fullscreen() {
function on_inline() {
var view = $('#events-calendar').fullCalendar('getView');
if(view.type === 'month') {
$('#events-calendar').fullCalendar('option', 'height', 'auto');
$('#events-calendar').fullCalendar('option', 'height', '');
}
}