forked from mirrors/gecko-dev
merge
This commit is contained in:
commit
bd39509373
1 changed files with 3 additions and 0 deletions
|
|
@ -2294,6 +2294,9 @@
|
|||
if (!event.isTrusted)
|
||||
return;
|
||||
|
||||
if (this.mTabs.length == 1)
|
||||
return;
|
||||
|
||||
var tab = this._getTabForContentWindow(event.target);
|
||||
if (tab) {
|
||||
this.removeTab(tab);
|
||||
|
|
|
|||
Loading…
Reference in a new issue