mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-27 11:22:18 +08:00
fix header classNames bug in basic views
This commit is contained in:
@@ -159,7 +159,8 @@ function BasicView(element, calendar, viewName) {
|
||||
}
|
||||
|
||||
for (i=0; i<colCnt; i++) {
|
||||
html += "<th class='fc-day-header fc-" + dayIDs[i] + " " + headerClass + "'/>";
|
||||
cellDate = _cellDate(0, i); // a little confusing. cellDate is local variable. _cellDate is private function
|
||||
html += "<th class='fc-day-header fc-" + dayIDs[cellDate.getDay()] + " " + headerClass + "'/>";
|
||||
}
|
||||
|
||||
html += "</tr>" +
|
||||
|
||||
Reference in New Issue
Block a user