mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-07 04:17:16 +00:00
fix: closes #7614 - Fixed pinned tabs not correctly differentiating url params, r=tabs
This commit is contained in:
@@ -815,8 +815,8 @@
|
||||
return;
|
||||
}
|
||||
// Remove # and ? from the url
|
||||
const pinUrl = pin.url.split('#')[0].split('?')[0];
|
||||
const currentUrl = browser.currentURI.spec.split('#')[0].split('?')[0];
|
||||
const pinUrl = pin.url.split('#')[0];
|
||||
const currentUrl = browser.currentURI.spec.split('#')[0];
|
||||
// Add an indicator that the pin has been changed
|
||||
if (pinUrl === currentUrl) {
|
||||
this.resetPinChangedUrl(tab);
|
||||
|
||||
Reference in New Issue
Block a user