mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-08 10:56:36 +00:00
Fixed glance opening on essential tabs even if it's disabled (closes #4564)
This commit is contained in:
@@ -330,7 +330,8 @@
|
|||||||
this._lazyPref.SHOULD_OPEN_EXTERNAL_TABS_IN_GLANCE &&
|
this._lazyPref.SHOULD_OPEN_EXTERNAL_TABS_IN_GLANCE &&
|
||||||
owner.linkedBrowser?.docShellIsActive &&
|
owner.linkedBrowser?.docShellIsActive &&
|
||||||
owner.linkedBrowser?.browsingContext?.isAppTab &&
|
owner.linkedBrowser?.browsingContext?.isAppTab &&
|
||||||
this.tabDomainsDiffer(owner, uri)
|
this.tabDomainsDiffer(owner, uri) &&
|
||||||
|
Services.prefs.getBoolPref('zen.glance.enabled', true)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user