diff --git a/CHANGELOG.md b/CHANGELOG.md index 8634bbb0..18e8f9eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 6af652ba..c97f353e 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -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; },