mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-15 22:36:23 +00:00
Fixed normal tabs appear on pinned tab container
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
}
|
||||
|
||||
getTabPosition(tab) {
|
||||
return Math.max(gBrowser.pinnedTabCount, tab._tPos);
|
||||
return Math.max(gBrowser._numVisiblePinTabs, tab._tPos);
|
||||
}
|
||||
|
||||
createBrowserElement(url, currentTab, existingTab = null) {
|
||||
@@ -574,6 +574,7 @@
|
||||
DOMContentLoaded: {},
|
||||
},
|
||||
},
|
||||
matches: ["https://*/*"],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user