Backed out changeset 93cd3fc35cfc (bug 1014332)

This commit is contained in:
Ed Morley
2014-08-21 12:27:16 +01:00
parent 26fa225ed8
commit f5dc99b818
4 changed files with 5 additions and 61 deletions

View File

@@ -334,7 +334,7 @@ nsContextMenu.prototype = {
let shareEnabled = shareButton && !shareButton.disabled && !this.onSocial;
let pageShare = shareEnabled && !(this.isContentSelected ||
this.onTextInput || this.onLink || this.onImage ||
this.onVideo || this.onAudio || this.onCanvas);
this.onVideo || this.onAudio);
this.showItem("context-sharepage", pageShare);
this.showItem("context-shareselect", shareEnabled && this.isContentSelected);
this.showItem("context-sharelink", shareEnabled && (this.onLink || this.onPlainTextLink) && !this.onMailtoLink);