feat: Fixed opening search mode on glance, b=(closes #8680), c=glance

This commit is contained in:
Mr. M
2025-05-31 20:52:37 +02:00
parent aa662910b2
commit 4abb3d2249
2 changed files with 3 additions and 3 deletions

View File

@@ -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