Bug 349343 - Tabs pane of preferences has mucho whitespace on Mac. r=mconnor.

git-svn-id: svn://10.0.0.236/trunk@208265 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com
2006-08-24 00:54:40 +00:00
parent e5f57cbd89
commit f1a24a68ed

View File

@@ -734,6 +734,11 @@
this._paneDeck.setAttribute("selectedIndex", i);
if (this.type != "child") {
// Don't let the new pane content flex to the current window
// height if we're animating
if (this._shouldAnimate)
aPaneElement.removeAttribute("flex");
var oldPane = this.lastSelected ? document.getElementById(this.lastSelected) : this.preferencePanes[0];
oldPane.selected = !(aPaneElement.selected = true);
if (!this._initialized || oldPane.id != aPaneElement.id) {