Skip to content

Commit

Permalink
fix: only show repeating count if the event is actually repeating
Browse files Browse the repository at this point in the history
  • Loading branch information
PalatinCoder authored Jan 13, 2019
1 parent de57daa commit 2257fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2257fa8

Please sign in to comment.