mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 553946 - remove stale 'l' variable. r=gavin
This commit is contained in:
parent
83d866ad67
commit
642853a086
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user