fullcalendar主题 - " getIconClass为null"

时间:2017-10-23 10:21:16

标签: fullcalendar themes

起初我在moment.js中遇到了关于localeData的错误,所以我决定更新我的时刻和fullcalendar插件。我现在使用的是momentjs 2.19.1和fullcalendar 3.6.1。

moment.js中的错误消失了,但现在我在我的控制台中收到错误,该错误会追溯到fullcalendar主题。错误说:

  

未捕获的TypeError:无法读取属性' getIconClass'为null

     

at String。 (fullcalendar.js:9410)

我没有使用任何主题(据我所知),我尝试使用新的themeSystem加载一些主题,但错误仍然出现。我的fullCalendar配置现在仍然如下:

$("#calendar").fullCalendar({
    lang: "nl",
    header: {
        left: "prev,next today",
        center: "title",
        right: "month,agendaWeek,agendaDay"
    },
    defaultView: "month",
    defaultDate: new Date(),
    droppable: true,
    editable: true,
    selectable: true,
    selectHelper: true,
    businessHours: {
        start: "08:00",
        end: "17:00",
        dow: [1,2,3,4,5]
    }
});

0 个答案:

没有答案