fix header classNames bug in basic views

This commit is contained in:
Adam Shaw
2013-04-14 21:51:24 -07:00
parent c9eecbf8ba
commit a42d1402f2
+2 -1
View File
@@ -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>" +