From 1e34764588db94ac4953414b8eebd7e037f4bdd9 Mon Sep 17 00:00:00 2001 From: Johan Alvinger Date: Thu, 26 Nov 2020 17:14:59 +0100 Subject: [PATCH] coloredEvents should also color the symbol if that is displayed --- modules/default/calendar/calendar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index 1a2da2b5..0f048229 100755 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -262,6 +262,7 @@ Module.register("calendar", { if (needle.test(event.title)) { eventWrapper.style.cssText = "color:" + this.config.coloredEvents[ev].color; titleWrapper.style.cssText = "color:" + this.config.coloredEvents[ev].color; + if (this.config.displaySymbol) symbolWrapper.style.cssText = "color:" + this.config.coloredEvents[ev].color; break; } }