fix #3267 again this time, dropped from big cal update (#3650)

this change was dropped from #3267 by mistake
This commit is contained in:
sam detweiler
2024-12-08 14:23:53 -06:00
committed by GitHub
parent 39ab651319
commit 5232f46d44
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
},