Commit 518cccfe authored by henry's avatar henry Committed by morgan
Browse files

fixup! BB 18905: Hide unwanted items from help menu

TB 43903: Hide "Report broken site" items.
parent fc0be3f5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -452,9 +452,8 @@ export var ReportBrokenSite = new (class ReportBrokenSite {
    // Altering the disabled attribute on the command does not propagate
    // the change to the related menuitems (see bug 805653), so we change them all.
    const cmd = document.getElementById("cmd_reportBrokenSite");
    const allowedByPolicy = Services.policies.isAllowed(
      "DisableFeedbackCommands"
    );
    // Hide the items in base-browser. tor-browser#43903.
    const allowedByPolicy = false;
    if (allowedByPolicy) {
      cmd.setAttribute("hidden", "false"); // see bug 805653
    } else {