Skip to content

Commit

Permalink
fixup! Bug 18905: Hide unwanted items from help menu
Browse files Browse the repository at this point in the history
Bug 42740: Stop trying to hide "Restore previous session".

Firefox already handles this item. If there is no previous session to
restore (such as when using permanent private browsing) it is already
hidden.
  • Loading branch information
henry-torproject authored and morganava committed Sep 19, 2024
1 parent ee9a53d commit ea0d361
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions browser/base/content/appmenu-viewcache.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@
<toolbarbutton id="appMenu-restoreSession"
data-l10n-id="appmenu-restore-session"
class="subviewbutton"
command="Browser:RestoreLastSession"
hidden="true"/>
command="Browser:RestoreLastSession"/>
<toolbarseparator/>
<toolbarbutton id="appMenuClearRecentHistory"
data-l10n-id="appmenu-clear-history"
Expand Down

0 comments on commit ea0d361

Please sign in to comment.