File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
< command id ="cmd_zenWorkspaceSwitch10 " />
26
26
27
27
< command id ="cmd_zenOpenZenThemePicker " />
28
- < command id ="cmd_zenChangeWorkspaceTabColor " />
28
+ < command id ="cmd_zenChangeWorkspaceTab " />
29
29
< command id ="cmd_zenToggleTabsOnRight " />
30
30
31
31
< command id ="cmd_zenReplacePinnedUrlWithCurrent " />
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ document.addEventListener(
53
53
gZenThemePicker . openThemePicker ( event ) ;
54
54
break ;
55
55
case 'cmd_zenChangeWorkspaceTab' :
56
- ZenWorkspaces . changeTabWorkspace ( event . target . getAttribute ( 'zen-workspace-id' ) ) ;
56
+ ZenWorkspaces . changeTabWorkspace ( event . sourceEvent . target . getAttribute ( 'zen-workspace-id' ) ) ;
57
57
break ;
58
58
case 'cmd_zenToggleTabsOnRight' :
59
59
gZenVerticalTabsManager . toggleTabsOnRight ( ) ;
Original file line number Diff line number Diff line change @@ -1898,6 +1898,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
1898
1898
const menuItem = document . createXULElement ( 'menuitem' ) ;
1899
1899
menuItem . setAttribute ( 'label' , workspace . name ) ;
1900
1900
menuItem . setAttribute ( 'zen-workspace-id' , workspace . uuid ) ;
1901
+ menuItem . setAttribute ( 'command' , 'cmd_zenChangeWorkspaceTab' ) ;
1901
1902
1902
1903
if ( workspace . uuid === activeWorkspace . uuid ) {
1903
1904
menuItem . setAttribute ( 'disabled' , 'true' ) ;
@@ -2208,7 +2209,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
2208
2209
2209
2210
const menuPopup = document . createXULElement ( 'menupopup' ) ;
2210
2211
menuPopup . setAttribute ( 'id' , 'context-zen-change-workspace-tab-menu-popup' ) ;
2211
- menuPopup . setAttribute ( 'command' , 'cmd_zenChangeWorkspaceTab' ) ;
2212
2212
2213
2213
menu . appendChild ( menuPopup ) ;
2214
2214
You can’t perform that action at this time.
0 commit comments