From 2798076bb19952c291964e6760ebf5a6f9e15b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristijan=20Ribari=C4=87?= Date: Mon, 11 Nov 2024 08:59:15 +0100 Subject: [PATCH] Display Add to Essentials tab context menu item before Pin Tab 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. --- src/browser/base/zen-components/ZenPinnedTabManager.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/base/zen-components/ZenPinnedTabManager.mjs b/src/browser/base/zen-components/ZenPinnedTabManager.mjs index 5fb221d39..e43eca4d1 100644 --- a/src/browser/base/zen-components/ZenPinnedTabManager.mjs +++ b/src/browser/base/zen-components/ZenPinnedTabManager.mjs @@ -455,7 +455,7 @@ oncommand="gZenPinnedTabManager.removeEssentials();"/> `); - document.getElementById('context_pinTab')?.after(element); + document.getElementById('context_pinTab')?.before(element); } resetPinnedTabData(tabData) {