File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,8 @@ export class ZenModsMarketplaceChild extends JSWindowActorChild {
133
133
134
134
modId = button . getAttribute ( 'zen-theme-id' ) ;
135
135
} else {
136
- modId = event . themeId ;
136
+ // Backwards compatibility is... Interesting
137
+ modId = event . themeId ?? event . modId ?? event . id ;
137
138
}
138
139
139
140
this . sendAsyncMessage ( 'ZenModsMarketplace:InstallMod' , { modId } ) ;
Original file line number Diff line number Diff line change @@ -1674,6 +1674,15 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
1674
1674
if ( splitGroup && ( ! draggedTab . group || draggedTab . group !== splitGroup ) ) {
1675
1675
this . _moveTabsToContainer ( [ draggedTab ] , droppedOnTab ) ;
1676
1676
gBrowser . moveTabToGroup ( draggedTab , splitGroup ) ;
1677
+ if ( hoverSide === 'left' || hoverSide === 'top' ) {
1678
+ try {
1679
+ splitGroup . tabs [ 0 ] . before ( draggedTab ) ;
1680
+ } catch ( e ) {
1681
+ console . warn (
1682
+ `Failed to move tab ${ draggedTab . id } before ${ splitGroup . tabs [ 0 ] . id } : ${ e } `
1683
+ ) ;
1684
+ }
1685
+ }
1677
1686
}
1678
1687
1679
1688
const droppedOnSplitNode = this . getSplitNodeFromTab ( droppedOnTab ) ;
You can’t perform that action at this time.
0 commit comments