Remove extra trailing brackets to fix orange, rs=brendan

This commit is contained in:
gavin@gavinsharp.com 2007-08-21 22:02:03 -07:00
parent f0effabe69
commit 757482d52a

View File

@ -1295,18 +1295,17 @@
<parameter name="aTab"/>
<body>
<![CDATA[
if (this.warnAboutClosingTabs(false)) {
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
else
this.mTabContainer.selectedItem = aTab;
if (this.warnAboutClosingTabs(false)) {
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
else
this.mTabContainer.selectedItem = aTab;
var childNodes = this.mTabContainer.childNodes;
var childNodes = this.mTabContainer.childNodes;
for (var i = childNodes.length - 1; i >= 0; --i) {
if (childNodes[i] != aTab)
this.removeTab(childNodes[i]);
}
for (var i = childNodes.length - 1; i >= 0; --i) {
if (childNodes[i] != aTab)
this.removeTab(childNodes[i]);
}
}
]]>
@ -1496,7 +1495,6 @@
// see comment above destroy above
oldBrowser.focusedWindow = null;
oldBrowser.focusedElement = null;
}
]]>
</body>
</method>