summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/nsContextMenu.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-20 20:16:18 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-20 20:16:18 -0400
commit94a484dd7e224ef6f4fc5994fa50478d41f72638 (patch)
tree5d91fbb0d1ebeeb1cf0a9ab266effb29ce4c1764 /application/palemoon/base/content/nsContextMenu.js
parent754ad610489603f80ea38bbd2cf18b28f0d8bf1d (diff)
parentb3bf60f4264b9acfbd2cb34fed4a66915012803c (diff)
downloadUXP-94a484dd7e224ef6f4fc5994fa50478d41f72638.tar
UXP-94a484dd7e224ef6f4fc5994fa50478d41f72638.tar.gz
UXP-94a484dd7e224ef6f4fc5994fa50478d41f72638.tar.lz
UXP-94a484dd7e224ef6f4fc5994fa50478d41f72638.tar.xz
UXP-94a484dd7e224ef6f4fc5994fa50478d41f72638.zip
Merge branch 'master' into xulrunner
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();