mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
coloredEvents should also color the symbol if that is displayed
This commit is contained in:
parent
99aaae491c
commit
1e34764588
@ -262,6 +262,7 @@ Module.register("calendar", {
|
|||||||
if (needle.test(event.title)) {
|
if (needle.test(event.title)) {
|
||||||
eventWrapper.style.cssText = "color:" + this.config.coloredEvents[ev].color;
|
eventWrapper.style.cssText = "color:" + this.config.coloredEvents[ev].color;
|
||||||
titleWrapper.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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user