bugfixes, better displaying within tabs and iframes

- fullcalendar methods called on non-initialized elements will not throw error
- no more artifacts during first view render (for slow browsers)
- no more errors on attempted render when invisible (in hidden tabs, for example)
- more efficient, browser-agnostic algorithm for displaying within an iframe
- more efficient setMinHeight
This commit is contained in:
Adam Shaw
2010-02-20 17:44:24 -08:00
parent 9bb6d15fe3
commit 98ed1b49aa
5 changed files with 867 additions and 29 deletions
+2 -1
View File
@@ -340,7 +340,8 @@ function vmargins(_element) {
function setMinHeight(element, h) {
element.css('min-height', h)[0].style.cssText += ';_height:' + (typeof h == 'number' ? h + 'px' : h);
h = typeof h == 'number' ? h + 'px' : h;
element[0].style.cssText += ';min-height:' + h + ';_height:' + h;
}