From 1c830594829c6544f81230879a8b8f6614c4153d Mon Sep 17 00:00:00 2001 From: Jan Syring-Lingenfelder Date: Sun, 13 Jan 2019 16:07:02 +0100 Subject: [PATCH] fix: only show repeating count if the event is actually repeating --- modules/default/calendar/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 7b81380928..d9cc829121 100755 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -220,7 +220,7 @@ Module.register("calendar", { var titleWrapper = document.createElement("td"), repeatingCountTitle = ""; - if (this.config.displayRepeatingCountTitle) { + if (this.config.displayRepeatingCountTitle && event.firstYear !== undefined) { repeatingCountTitle = this.countTitleForUrl(event.url);