Event class bugfix (#3218)

Hello,

Bugfix. :-) The "break" line did not allow the "eventClass" option to
execute.
This commit is contained in:
Teddy
2023-10-03 12:24:50 +02:00
committed by GitHub
parent 66b29ec26e
commit b067711ede
2 changed files with 2 additions and 1 deletions

View File

@@ -335,7 +335,6 @@ Module.register("calendar", {
if (this.config.displaySymbol && this.config.coloredSymbol) {
symbolWrapper.style.cssText = `color:${this.config.customEvents[ev].color}`;
}
break;
}
if (typeof this.config.customEvents[ev].eventClass !== "undefined" && this.config.customEvents[ev].eventClass !== "") {
eventWrapper.className += ` ${this.config.customEvents[ev].eventClass}`;