mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 02:06:24 +02:00
Update Firefox version to 136.0 in README and surfer.json; modify ToolbarContextMenu context menu items
This commit is contained in:
parent
5bbd881f01
commit
cc8a5cf367
4 changed files with 40 additions and 4 deletions
|
@ -0,0 +1,22 @@
|
|||
diff --git a/browser/components/customizableui/ToolbarContextMenu.sys.mjs b/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
index 9879487f9ed9ddf825f5fb5c1467ddbd7fbe7a32..9e2565fafe0f5f9afa6065c9f4f522fec745db2a 100644
|
||||
--- a/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
+++ b/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
@@ -237,17 +237,6 @@ export var ToolbarContextMenu = {
|
||||
// autohide item's checked state to mirror the autohide pref.
|
||||
showFullScreenViewContextMenuItems(popup);
|
||||
|
||||
- let toggleVerticalTabsItem = document.getElementById(
|
||||
- "toolbar-context-toggle-vertical-tabs"
|
||||
- );
|
||||
- document.l10n.setAttributes(
|
||||
- toggleVerticalTabsItem,
|
||||
- gBrowser.tabContainer?.verticalMode
|
||||
- ? "toolbar-context-turn-off-vertical-tabs"
|
||||
- : "toolbar-context-turn-on-vertical-tabs"
|
||||
- );
|
||||
- document.getElementById("toolbar-context-customize-sidebar").hidden =
|
||||
- !gBrowser.tabContainer?.verticalMode;
|
||||
|
||||
// View -> Toolbars menu doesn't have the moveToPanel or removeFromToolbar items.
|
||||
if (!moveToPanel || !removeFromToolbar) {
|
Loading…
Add table
Add a link
Reference in a new issue