Skip to content

Commit fc7a007

Browse files
committed
Bug 1974265 - Add "Turn on Vertical Tabs" option to titlebar spacers context menu. r=nsharpley,dao
Differential Revision: https://phabricator.services.mozilla.com/D267155 UltraBlame original commit: bf6143514327e3401252a92c65f6c05ce0be59f5
1 parent 9f0146e commit fc7a007

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

browser/components/customizableui/ToolbarContextMenu.sys.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,23 @@ removeFromToolbar
15531553
"
15541554
)
15551555
;
1556+
let
1557+
isTitlebarSpacer
1558+
=
1559+
toolbarItem
1560+
?
1561+
.
1562+
classList
1563+
.
1564+
contains
1565+
(
1566+
"
1567+
titlebar
1568+
-
1569+
spacer
1570+
"
1571+
)
1572+
;
15561573
/
15571574
/
15581575
Show
@@ -1645,6 +1662,9 @@ localName
16451662
"
16461663
toolbarspring
16471664
"
1665+
|
1666+
|
1667+
isTitlebarSpacer
16481668
;
16491669
let
16501670
toggleVerticalTabsItem
@@ -1843,6 +1863,9 @@ localName
18431863
"
18441864
toolbarspring
18451865
"
1866+
|
1867+
|
1868+
isTitlebarSpacer
18461869
;
18471870
/
18481871
/

0 commit comments

Comments
 (0)