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

This commit is contained in:
mozilla.mano%sent.com 2006-08-24 00:54:40 +00:00
Родитель 31cc2b4363
Коммит 401183c1fd
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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) {