diff --git a/mozilla/xpfe/global/resources/content/tabBindings.xml b/mozilla/xpfe/global/resources/content/tabBindings.xml index 8096e4f06b8..10bbd106aac 100644 --- a/mozilla/xpfe/global/resources/content/tabBindings.xml +++ b/mozilla/xpfe/global/resources/content/tabBindings.xml @@ -65,12 +65,29 @@ ]]> + + + + + + + 1) { @@ -79,8 +96,10 @@ } else if (tabs.length == 1) tabs[0].setAttribute("first-tab", "true"); - this.selectedTab = tabs[0]; } + this.selectedTab = tabs[0]; + var o = this.getAttribute("orient"); + if (!o || o == "") this.setAttribute("orient", "horizontal"); ]]> @@ -97,7 +116,7 @@ - + @@ -142,6 +161,26 @@ if (!this.selected) this.selected = true; ]]> + + + + + + + + + + + +