Format calendar settings

This commit is contained in:
MG-5 2023-10-22 13:44:23 +02:00
parent cb0eff1caf
commit d778773b90

View file

@ -19,7 +19,10 @@ icon: "far fa-calendar"
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth', height: "auto", locale: 'de', events: '/calendar-data'
initialView: 'dayGridMonth',
height: "auto",
locale: 'de',
events: '/calendar-data'
});
calendar.render();
});