From 8d9f0ef52c8244cb19eed19db34a8a6ed447bb2b Mon Sep 17 00:00:00 2001 From: Shamim Rezaie Date: Thu, 14 Jan 2021 01:54:26 +1100 Subject: [PATCH] MDL-70625 core_calendar: Fix whitespace appearance in the id attribute --- calendar/templates/calendar_mini.mustache | 4 ++-- calendar/templates/month_mini.mustache | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/calendar/templates/calendar_mini.mustache b/calendar/templates/calendar_mini.mustache index 53b69439bdb..1ddd0546080 100644 --- a/calendar/templates/calendar_mini.mustache +++ b/calendar/templates/calendar_mini.mustache @@ -32,7 +32,7 @@ } }} {{#js}} require(['jquery', 'core_calendar/calendar_mini'], function($, CalendarMini) { - CalendarMini.init($("#calendar-month-{{date.year}}-{{date.month}}-{{uniqid}}"), !{{initialeventsloaded}}); + CalendarMini.init($("#calendar-month-{{date.year}}-{{date.mon}}-{{uniqid}}"), !{{initialeventsloaded}}); }); {{/js}} diff --git a/calendar/templates/month_mini.mustache b/calendar/templates/month_mini.mustache index 4ff26560f2b..7918d98416e 100644 --- a/calendar/templates/month_mini.mustache +++ b/calendar/templates/month_mini.mustache @@ -32,7 +32,7 @@ } }}