From 52675f7eff140426532f81da9c84c5d7803d0cda Mon Sep 17 00:00:00 2001 From: Ronin0000 <89286474+Ronin0000@users.noreply.github.com> Date: Sat, 20 Nov 2021 18:48:03 -0800 Subject: [PATCH] Update custom.html --- apps/schoolCalendar/custom.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/schoolCalendar/custom.html b/apps/schoolCalendar/custom.html index 550c7f91b..db94d444f 100644 --- a/apps/schoolCalendar/custom.html +++ b/apps/schoolCalendar/custom.html @@ -78,12 +78,12 @@ let schedule = [] //-------------------- console.log = console.log || function(){}; - console.log(calendar.getEvents()[0].title()); + console.log(calendar.getEvents()[0].title); //-------------------- if(calendarEvents){ for(i=0;i>calendarEvents.length;i++){ var calendarEntry = {} - calendarEntry['cn'] = calendarEvents[i].title(); + calendarEntry['cn'] = calendarEvents[i].title; calendarEntry['dow'] = calendarEvents[i].start.getDate(); calendarEntry['sh'] = calendarEvents[i].start.getHours(); calendarEntry['sm'] = calendarEvents[i].start.getMinutes();