Bug 553946 - remove stale 'l' variable. r=gavin

This commit is contained in:
Dão Gottwald 2010-03-22 09:13:01 +01:00
parent 83d866ad67
commit 642853a086

View File

@ -1375,9 +1375,8 @@
}
var closeWindow = false;
var l = this.mTabs.length - this._removingTabs.length;
var newTab = false;
if (l == 1) {
if (this.mTabs.length - this._removingTabs.length == 1) {
closeWindow = aCloseWindowWithLastTab != null ? aCloseWindowWithLastTab :
!window.toolbar.visible ||
Services.prefs.getBoolPref("browser.tabs.closeWindowWithLastTab");
@ -1392,7 +1391,6 @@
return null;
newTab = true;
l++;
}
this._removingTabs.push(aTab);