From 5e4a1827e8b451b3c475b8f0da1f8586725ed985 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 14 Apr 2021 10:55:08 +0200 Subject: [PATCH] Fix variable name --- www/common/outer/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/outer/calendar.js b/www/common/outer/calendar.js index d1d7732b5..bedf74676 100644 --- a/www/common/outer/calendar.js +++ b/www/common/outer/calendar.js @@ -631,8 +631,8 @@ ctx.calendars[channel] = { data.startDay = startDate.getFullYear() + '-' + (startDate.getMonth()+1) + '-' + startDate.getDate(); data.endDay = endDate.getFullYear() + '-' + (endDate.getMonth()+1) + '-' + endDate.getDate(); } else { - delete ev.startDay; - delete ev.endDay; + delete data.startDay; + delete data.endDay; } c.proxy.content = c.proxy.content || {};