fix: closes #7614 - Fixed pinned tabs not correctly differentiating url params, r=tabs

This commit is contained in:
Mr. M
2025-04-16 01:56:36 +02:00
parent 4a6281ebf6
commit 4b49d87a81

View File

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