Commit d3a276df authored by Johannes Bill's avatar Johannes Bill

fixed today class in two weekview

parent 089434d1
......@@ -82,7 +82,7 @@ function createWeekViewVerticalRaw(dataObj, now, className, offset, addDayOfWeek
if (dayInHolidays(day.date, holidays)) {
cls += " " + className + "-holiday";
}
if (compareDate(day.date, now) == 0) {
if (addDayOfWeek && compareDate(day.date, now) == 0) {
cls += " " + className + "-today";
}
if(day.date.getDay() == 0) {
......
......@@ -24,6 +24,9 @@
.name {
font-size: 20px;
}
.two-weekview-v-today {
background-color: #99baca;
}
</style>
</head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment