##// END OF EJS Templates
Fix Chrome JavaScript bug in the pop up calendar. #5769...
Eric Davis -
r3708:5a17b5ba394f
parent child
Show More
@@ -1105,7 +1105,7 Calendar.prototype._init = function (firstDayOfWeek, date) {
1105 var day1 = (date.getDay() - this.firstDayOfWeek) % 7;
1105 var day1 = (date.getDay() - this.firstDayOfWeek) % 7;
1106 if (day1 < 0)
1106 if (day1 < 0)
1107 day1 += 7;
1107 day1 += 7;
1108 date.setDate(-day1);
1108 date.setDate(0-day1);
1109 date.setDate(date.getDate() + 1);
1109 date.setDate(date.getDate() + 1);
1110
1110
1111 var row = this.tbody.firstChild;
1111 var row = this.tbody.firstChild;
General Comments 0
You need to be logged in to leave comments. Login now