diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /browser/components/reportbrokensite/ReportBrokenSite.sys.mjs | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 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; + } } } })(); |