mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-21 14:55:37 +00:00
fix: Fixed constantly recalculating pinned tabs, b=(no-bug), c=tabs
This commit is contained in:
@@ -1008,7 +1008,7 @@
|
||||
if (!pin) {
|
||||
return;
|
||||
}
|
||||
tab._recalculateAfterPinning = true;
|
||||
|
||||
if ((pin.url === 'about:blank' && tab.linkedBrowser.currentURI.spec !== 'about:blank') || tab._recalculateAfterPinning) {
|
||||
delete tab._recalculateAfterPinning;
|
||||
await this.replacePinnedUrlWithCurrent(tab);
|
||||
|
||||
Reference in New Issue
Block a user