Fixed glance opening tabs

This commit is contained in:
mr. m
2025-02-06 11:13:59 +01:00
parent 1e624ae580
commit 23697a8930
4 changed files with 2050 additions and 23 deletions

View File

@@ -67,7 +67,7 @@
}
getTabPosition(tab) {
return Math.max(gBrowser._numVisiblePinTabs, tab._tPos) + 1;
return Math.max(gBrowser.pinnedTabCount, tab._tPos) + 1;
}
createBrowserElement(url, currentTab, existingTab = null) {