Commit 26180332 authored by henry's avatar henry Committed by morgan
Browse files

fixup! Bug 18905: Hide unwanted items from help menu

Bug 42362: Stop hiding the Tools:PrivateBrowsing command and shortcut.
parent 104d7d03
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -289,10 +289,7 @@ var gBrowserInit = {
    this._boundDelayedStartup = this._delayedStartup.bind(this);
    window.addEventListener("MozAfterPaint", this._boundDelayedStartup);

    if (
      PrivateBrowsingUtils.permanentPrivateBrowsing ||
      !PrivateBrowsingUtils.enabled
    ) {
    if (!PrivateBrowsingUtils.enabled) {
      document.getElementById("Tools:PrivateBrowsing").hidden = true;
      // Setting disabled doesn't disable the shortcut, so we just remove
      // the keybinding.