mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-19 22:10:50 +00:00
feat: Fixed opening search mode on glance, b=(closes #8680), c=glance
This commit is contained in:
@@ -752,7 +752,7 @@
|
||||
}
|
||||
const currentTab = gBrowser.selectedTab;
|
||||
const parentTab = currentTab.owner;
|
||||
if (!parentTab) {
|
||||
if (!parentTab || parentTab.hasAttribute('glance-id')) {
|
||||
return;
|
||||
}
|
||||
// Open a new glance if the current tab is a glance tab
|
||||
|
||||
Reference in New Issue
Block a user