mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-20 03:51:20 +00:00
gh-12949: Fixed reset url indicator showing for sub documents (gh-13735)
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
value: "@IS_TWILIGHT@"
|
||||
|
||||
- name: zen.view.overflow-webext-toolbar-threshold
|
||||
value: 60
|
||||
value: 50
|
||||
|
||||
- name: zen.view.enable-loading-indicator
|
||||
value: true
|
||||
|
||||
@@ -413,6 +413,7 @@ class nsZenFolders extends nsZenDOMOperatedFeature {
|
||||
const tab = event.detail;
|
||||
const group = event.target;
|
||||
if (
|
||||
tab.pinned &&
|
||||
group.hasAttribute("split-view-group") &&
|
||||
tab.hasAttribute("had-zen-pinned-changed")
|
||||
) {
|
||||
|
||||
@@ -829,6 +829,9 @@ class nsZenPinnedTabManager extends nsZenDOMOperatedFeature {
|
||||
}
|
||||
|
||||
onLocationChange(aBrowser, aWebProgress, aRequest, aLocationURI) {
|
||||
if (!aWebProgress.isTopLevel) {
|
||||
return;
|
||||
}
|
||||
// eslint-disable-next-line no-shadow
|
||||
let location = aLocationURI ? aLocationURI.spec : "";
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user