Skip to content

Commit

Permalink
Display Add to Essentials tab context menu item before Pin Tab
Browse files Browse the repository at this point in the history
Add to Essentials is displayed before Pin tab context menu item so it follows the order in which the tabs are displayed in the sidebar as essentials are above pinned tabs.
  • Loading branch information
kristijanribaric committed Nov 11, 2024
1 parent 259b25a commit 2798076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/base/zen-components/ZenPinnedTabManager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@
oncommand="gZenPinnedTabManager.removeEssentials();"/>
`);

document.getElementById('context_pinTab')?.after(element);
document.getElementById('context_pinTab')?.before(element);
}

resetPinnedTabData(tabData) {
Expand Down

0 comments on commit 2798076

Please sign in to comment.