Avoid NaN in event position computation
This commit is contained in:
parent
4f76d3d35e
commit
8abc274092
2 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- js/fullcalendar.js.orig 2011-04-09 14:13:16.000000000 +0200
|
--- js/fullcalendar.js.orig 2011-04-09 14:13:16.000000000 +0200
|
||||||
+++ js/fullcalendar.js 2011-09-07 11:53:03.000000000 +0200
|
+++ js/fullcalendar.js 2011-09-08 18:52:12.000000000 +0200
|
||||||
@@ -47,12 +47,16 @@
|
@@ -47,12 +47,16 @@
|
||||||
titleFormat: {
|
titleFormat: {
|
||||||
month: 'MMMM yyyy',
|
month: 'MMMM yyyy',
|
||||||
|
@ -186,7 +186,16 @@
|
||||||
return smartProperty(v, viewNameOverride || viewName);
|
return smartProperty(v, viewNameOverride || viewName);
|
||||||
}
|
}
|
||||||
return v;
|
return v;
|
||||||
@@ -5204,5 +5250,561 @@
|
@@ -4804,6 +4850,8 @@
|
||||||
|
}
|
||||||
|
seg.outerHeight = element[0].offsetHeight + val;
|
||||||
|
}
|
||||||
|
+ else
|
||||||
|
+ seg.outerHeight = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -5204,5 +5252,561 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4850,6 +4850,8 @@ function DayEventRenderer() {
|
||||||
}
|
}
|
||||||
seg.outerHeight = element[0].offsetHeight + val;
|
seg.outerHeight = element[0].offsetHeight + val;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
seg.outerHeight = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue