forked from extern/egroupware
fix for templates containing no bottomNodes
This commit is contained in:
parent
cf26bde93c
commit
256b888124
@ -68,7 +68,7 @@ var et2_dynheight = Class.extend(
|
|||||||
var it = this.innerNode.offset().top;
|
var it = this.innerNode.offset().top;
|
||||||
|
|
||||||
// Calculate the height of the "bottomNodes"
|
// Calculate the height of the "bottomNodes"
|
||||||
var bminTop = Infinity;
|
var bminTop = this.bottomNodes.length ? Infinity : 0;
|
||||||
var bmaxBot = 0;
|
var bmaxBot = 0;
|
||||||
for (var i = 0; i < this.bottomNodes.length; i++)
|
for (var i = 0; i < this.bottomNodes.length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user