summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/nsContextMenu.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-13 11:15:36 -0400
committerGitHub <noreply@github.com>2018-04-13 11:15:36 -0400
commitaedeefe89855b36da07a021a772cd02c37d6b887 (patch)
tree0b8376f33206c8c0c6232d122597e3a4c591cb98 /application/palemoon/base/content/nsContextMenu.js
parent12c1588b940ca8bbaff5632a847189ebb9a430f0 (diff)
parentda92d3703332ad41e8a2bf3aa66cb867c336e0b0 (diff)
downloadUXP-aedeefe89855b36da07a021a772cd02c37d6b887.tar
UXP-aedeefe89855b36da07a021a772cd02c37d6b887.tar.gz
UXP-aedeefe89855b36da07a021a772cd02c37d6b887.tar.lz
UXP-aedeefe89855b36da07a021a772cd02c37d6b887.tar.xz
UXP-aedeefe89855b36da07a021a772cd02c37d6b887.zip
Merge pull request #141 from janekptacijarabaci/pm_findbar_1
Fix: Findbar broken
Diffstat (limited to 'application/palemoon/base/content/nsContextMenu.js')
-rw-r--r--application/palemoon/base/content/nsContextMenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/nsContextMenu.js b/application/palemoon/base/content/nsContextMenu.js
index 03513bd84..1d3ceb17e 100644
--- a/application/palemoon/base/content/nsContextMenu.js
+++ b/application/palemoon/base/content/nsContextMenu.js
@@ -265,7 +265,7 @@ nsContextMenu.prototype = {
// Hide menu entries for images, show otherwise
if (this.inFrame) {
- if (mimeTypeIsTextBased(this.target.ownerDocument.contentType))
+ if (BrowserUtils.mimeTypeIsTextBased(this.target.ownerDocument.contentType))
this.isFrameImage.removeAttribute('hidden');
else
this.isFrameImage.setAttribute('hidden', 'true');