mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731553 - warnAboutClosingTabs should ignore tabs that already started closing. r=gavin
This commit is contained in:
parent
267b62cdb3
commit
7d24e5c111
@ -1418,7 +1418,9 @@
|
||||
<parameter name="aAll"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
var tabsToClose = (aAll ? this.tabs.length : this.visibleTabs.length - 1)
|
||||
var tabsToClose = (aAll ?
|
||||
this.tabs.length - this._removingTabs.length :
|
||||
this.visibleTabs.length - 1)
|
||||
- gBrowser._numPinnedTabs;
|
||||
if (tabsToClose <= 1)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user