Skip to content

Commit

Permalink
fix #3267 again this time, dropped from big cal update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdetweil committed Dec 8, 2024
1 parent 39ab651 commit ff3fc72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ _This release is scheduled to be released on 2025-01-01._
- [calendar] - fix showEndsOnlyWithDuration not working, #3598, applies ONLY to full day events
- [calendar] - fix showEnd for Full Day events #3602
- [tests] Suppress "module is not defined" in e2e tests
- [calendar] - fixes #3267 (styles array, really this time!)

## [2.29.0] - 2024-10-01

Expand Down
4 changes: 2 additions & 2 deletions modules/default/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,9 @@ Module.register("calendar", {
let p = this.getCalendarProperty(url, property, defaultValue);
if (property === "symbol" || property === "recurringSymbol" || property === "fullDaySymbol") {
const className = this.getCalendarProperty(url, "symbolClassName", this.config.defaultSymbolClassName);
p = className + p;
if (p instanceof Array) p.push(className);
else p = className + p;
}

if (!(p instanceof Array)) p = [p];
return p;
},
Expand Down

0 comments on commit ff3fc72

Please sign in to comment.