mirror of
https://github.com/grocy/grocy.git
synced 2025-08-28 09:01:14 +00:00
Fixed FullCalendar height was not calculated dynamically (fixes #549)
This commit is contained in:
@@ -14,7 +14,8 @@ var calendar = $("#calendar").fullCalendar({
|
||||
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
||||
"defaultView": ($(window).width() < 768) ? "agendaDay" : "month",
|
||||
"firstDay": firstDay,
|
||||
"eventLimit": true,
|
||||
"eventLimit": false,
|
||||
"height": "auto",
|
||||
"eventSources": fullcalendarEventSources
|
||||
});
|
||||
|
||||
|
@@ -18,10 +18,11 @@ var calendar = $("#calendar").fullCalendar({
|
||||
"right": "prev,today,next"
|
||||
},
|
||||
"weekNumbers": false,
|
||||
"eventLimit": true,
|
||||
"eventLimit": false,
|
||||
"eventSources": fullcalendarEventSources,
|
||||
"defaultView": ($(window).width() < 768) ? "basicDay" : "basicWeek",
|
||||
"firstDay": firstDay,
|
||||
"height": "auto",
|
||||
"viewRender": function(view)
|
||||
{
|
||||
if (firstRender)
|
||||
|
Reference in New Issue
Block a user