mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-20 12:01:27 +00:00
gh-13620: Fixed unresponsive tabs when opening external links (gh-13628)
This commit is contained in:
@@ -816,14 +816,12 @@ class nsZenWorkspaces {
|
||||
|
||||
let removedEmptyTab = false;
|
||||
let initialTabWasEmpty = false;
|
||||
if (
|
||||
this._initialTab &&
|
||||
!(this._initialTab._shouldRemove && this._initialTab._veryPossiblyEmpty)
|
||||
) {
|
||||
initialTabWasEmpty = !!this._initialTab._veryPossiblyEmpty;
|
||||
gBrowser.selectedTab = this._initialTab;
|
||||
this.moveTabToWorkspace(this._initialTab, this.activeWorkspace);
|
||||
gBrowser.moveTabTo(this._initialTab, {
|
||||
if (this._shouldOverrideTabs) {
|
||||
let initialTab = this._initialTab || gBrowser.selectedTab;
|
||||
initialTabWasEmpty = !!initialTab._veryPossiblyEmpty;
|
||||
gBrowser.selectedTab = initialTab;
|
||||
this.moveTabToWorkspace(initialTab, this.activeWorkspace);
|
||||
gBrowser.moveTabTo(initialTab, {
|
||||
forceUngrouped: true,
|
||||
tabIndex: 0,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user