fix for templates containing no bottomNodes

This commit is contained in:
Ralf Becker 2013-09-10 14:40:19 +00:00
parent cf26bde93c
commit 256b888124

View File

@ -68,7 +68,7 @@ var et2_dynheight = Class.extend(
var it = this.innerNode.offset().top;
// Calculate the height of the "bottomNodes"
var bminTop = Infinity;
var bminTop = this.bottomNodes.length ? Infinity : 0;
var bmaxBot = 0;
for (var i = 0; i < this.bottomNodes.length; i++)
{