summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/nsContextMenu.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-20 17:49:47 -0400
committerGitHub <noreply@github.com>2018-04-20 17:49:47 -0400
commit55b2b54f4328ddc56211e888cb5f369d463346da (patch)
tree4c30be4d6a04ede9fc2bbc0c6ebefa754bc572f3 /application/palemoon/base/content/nsContextMenu.js
parenta26cb28c9780c015694151771d649b7cec4086db (diff)
parente00e3008fe1775d17c4c9bba7a382a159ba5ef9e (diff)
downloadUXP-55b2b54f4328ddc56211e888cb5f369d463346da.tar
UXP-55b2b54f4328ddc56211e888cb5f369d463346da.tar.gz
UXP-55b2b54f4328ddc56211e888cb5f369d463346da.tar.lz
UXP-55b2b54f4328ddc56211e888cb5f369d463346da.tar.xz
UXP-55b2b54f4328ddc56211e888cb5f369d463346da.zip
Merge pull request #220 from JustOff/PR_PMkit_part2
Make Add-on SDK (Jetpack) work on Pale Moon || Part 2
Diffstat (limited to 'application/palemoon/base/content/nsContextMenu.js')
-rw-r--r--application/palemoon/base/content/nsContextMenu.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/palemoon/base/content/nsContextMenu.js b/application/palemoon/base/content/nsContextMenu.js
index 1fe592b52..3d5d40e4c 100644
--- a/application/palemoon/base/content/nsContextMenu.js
+++ b/application/palemoon/base/content/nsContextMenu.js
@@ -4,6 +4,8 @@
Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
+var gContextMenuContentData = null;
+
function nsContextMenu(aXulMenu, aIsShift) {
this.shouldDisplay = true;
this.initMenu(aXulMenu, aIsShift);
@@ -39,6 +41,7 @@ nsContextMenu.prototype = {
},
hiding: function CM_hiding() {
+ gContextMenuContentData = null;
InlineSpellCheckerUI.clearSuggestionsFromMenu();
InlineSpellCheckerUI.clearDictionaryListFromMenu();
InlineSpellCheckerUI.uninit();