mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-07-13 12:56:28 +02:00
Avoid infinite heights in case there is nothing below
This commit is contained in:
@ -97,7 +97,7 @@ var et2_dynheight = Class.extend(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the height of the bottom container
|
// Get the height of the bottom container
|
||||||
var bh = bmaxBot - bminTop;
|
var bh = Math.max(0,bmaxBot - bminTop);
|
||||||
|
|
||||||
// Calculate the new height of the inner container
|
// Calculate the new height of the inner container
|
||||||
var w = this.innerNode.width();
|
var w = this.innerNode.width();
|
||||||
|
Reference in New Issue
Block a user