Removed debug messages and made it work with ff

This commit is contained in:
Andreas Stöckel
2011-08-31 15:58:24 +00:00
parent 035a4d369f
commit c5c90fbce0
3 changed files with 15 additions and 8 deletions

View File

@ -184,12 +184,10 @@ var et2_dataview_container = Class.extend(et2_dataview_IInvalidatable, {
// Increment the height value for each visible container node
var self = this;
$j(this._nodes, ":visible").each(function() {
height += self._nodeHeight(this);
height += self._nodeHeight(this[0]);
});
}
console.log(height);
return height;
},
@ -237,7 +235,7 @@ else
{
et2_dataview_container.prototype._nodeHeight = function(_node)
{
return $j(_node).outerHeight(true);
return _node.offsetHeight;
}
}