зеркало из https://github.com/mozilla/pjs.git
Bug 349343 - Tabs pane of preferences has mucho whitespace on Mac. r=mconnor.
This commit is contained in:
Родитель
31cc2b4363
Коммит
401183c1fd
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче