mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-09-12 12:21:04 +08:00
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:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user