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 committed Jan 13, 2019
1 parent 90b24d8 commit 1c83059
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 1c83059

Please sign in to comment.