mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-09-10 12:00:15 +08:00
make all JS (mostly tests) es3-compliant, because we care about testing in IE8
This commit is contained in:
@@ -572,7 +572,7 @@ function AgendaView(element, calendar, viewName) {
|
||||
var date = cellToDate(0, col);
|
||||
var match = this.parentNode.className.match(/fc-slot(\d+)/); // TODO: maybe use data
|
||||
if (match) {
|
||||
var slotIndex = parseInt(match[1]);
|
||||
var slotIndex = parseInt(match[1], 10);
|
||||
date.add(minTime + slotIndex * slotDuration);
|
||||
date = calendar.rezoneDate(date);
|
||||
trigger(
|
||||
|
||||
Reference in New Issue
Block a user