Skip to content
Snippets Groups Projects
Verified Commit a65b460f authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 18905: Hide unwanted items from help menu

Bug 42362: Stop hiding the Tools:PrivateBrowsing command and shortcut.
parent 82f653df
No related branches found
No related tags found
1 merge request!1222Bug 43166: Rebased alpha onto 128.3.0esr
......@@ -283,10 +283,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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment