diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/reportbrokensite/ReportBrokenSite.sys.mjs | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/reportbrokensite/ReportBrokenSite.sys.mjs')
-rw-r--r-- | browser/components/reportbrokensite/ReportBrokenSite.sys.mjs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/browser/components/reportbrokensite/ReportBrokenSite.sys.mjs b/browser/components/reportbrokensite/ReportBrokenSite.sys.mjs index 706c013383..ef1f4e1270 100644 --- a/browser/components/reportbrokensite/ReportBrokenSite.sys.mjs +++ b/browser/components/reportbrokensite/ReportBrokenSite.sys.mjs @@ -469,15 +469,6 @@ export var ReportBrokenSite = new (class ReportBrokenSite { reportSiteIssue.hidden = this.enabled || !this.reportSiteIssueEnabledPref; reportSiteIssue.disabled = !canReportUrl; } - - // "Site not working?" on the protections panel should be hidden when - // Report Broken Site is visible (bug 1868527). - const siteNotWorking = document.getElementById( - "protections-popup-tp-switch-section-footer" - ); - if (siteNotWorking) { - siteNotWorking.hidden = this.enabled; - } } #checkPrefs(whichChanged) { @@ -755,7 +746,7 @@ export var ReportBrokenSite = new (class ReportBrokenSite { .getElementById("protections-popup-multiView") .showSubView(ReportBrokenSite.MAIN_PANELVIEW_ID); break; - case "help_reportBrokenSite": + case "help_reportBrokenSite": { // hide the hamburger menu first, as we overlap with it. const appMenuPopup = document.getElementById("appMenu-popup"); appMenuPopup?.hidePopup(); @@ -765,6 +756,7 @@ export var ReportBrokenSite = new (class ReportBrokenSite { ownerGlobal.PanelUI.menuButton ); break; + } } } })(); |