diff --git a/parts/menuResize.js b/parts/menuResize.js index adde643..0044fb8 100644 --- a/parts/menuResize.js +++ b/parts/menuResize.js @@ -2,12 +2,6 @@ var columnIDs; function init () { - // this may be called twice - if (arguments.callee.done) - return; - - arguments.callee.done = true; - setHeight ('menu', columnIDs); } @@ -44,12 +38,12 @@ function setHeight (myTarget, columns) { // determine the maximum height out of all columns specified for (i = 0; i < divs.length; i++) { if (maxHeight < divs[i].offsetHeight) { - maxHeight = divs[i].offsetHeight; + maxHeight = divs[i].offsetHeight + 2; } } // set the target column to that maximum height - targetID.style.height = maxHeight + 2 + 'px'; + targetID.style.height = maxHeight + 'px'; } } diff --git a/parts/topmain.php b/parts/topmain.php index 577836e..12d6c18 100644 --- a/parts/topmain.php +++ b/parts/topmain.php @@ -35,6 +35,6 @@ } ?> -
' - .'