Browse Source

[Navigator] Don't show the context separator for images on standalone image page

custom-2020
Matt A. Tobin 2 years ago committed by Roy Tam
parent
commit
ca20de1b72
  1. 2
      navigator/comm/content/nsContextMenu.js

2
navigator/comm/content/nsContextMenu.js

@ -237,7 +237,7 @@ nsContextMenu.prototype = {
canSetDesktopBackground && (this.onLoadedImage || this.onStandaloneImage));
this.showItem("context-sep-image",
this.onLoadedImage || this.onStandaloneImage);
this.onLoadedImage && !this.onStandaloneImage);
if (canSetDesktopBackground && this.onLoadedImage)
// Disable the Set Desktop Background menu item if we're still trying to load the image

Loading…
Cancel
Save