Monotone-Parent: 8eea06416213949b3ff8e1701db3e1efc59496df

Monotone-Revision: 321c07dcd402a9e1f67210981ec9fa1b6ac69ac5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-06T22:54:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-06 22:54:53 +00:00
parent 83b9ccb700
commit d049b722ce

View File

@@ -117,8 +117,7 @@ function toggleDetails() {
var buttonsDiv = $("buttons");
var wHeight = 0;
if (!window._fullHeight) {
var minHeight = (document.getElementsByTagName("div")[0].clientHeight
+ 2 * buttonsDiv.clientHeight);
var minHeight = (buttonsDiv.offsetTop + 2 * buttonsDiv.clientHeight);
window._fullHeight = minHeight + div.clientHeight;
window._hiddenHeight = minHeight;
}