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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user