Files
desktop/src/browser/base/content/nsContextMenu-sys-mjs.patch

15 lines
781 B
C++

diff --git a/browser/base/content/nsContextMenu.sys.mjs b/browser/base/content/nsContextMenu.sys.mjs
index 97cb36e2ed48d00454e169fb0470b47ac994b883..1811a92885620c8a916937f467ebb7d0eb0d3a0e 100644
--- a/browser/base/content/nsContextMenu.sys.mjs
+++ b/browser/base/content/nsContextMenu.sys.mjs
@@ -369,6 +369,9 @@ export class nsContextMenu {
this.initTextFragmentItems();
this.pdfjsContextMenu.initItems();
+ this.showItem("context-zenSplitLink", this.onLink && !this.onMailtoLink && !this.onTelLink);
+ this.showItem("context-zenOpenLinkInGlance", this.onLink && !this.onMailtoLink && !this.onTelLink);
+
this.showHideSeparators(aXulMenu);
if (!aXulMenu.showHideSeparators) {
// Set the showHideSeparators function on the menu itself so that