summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-08 18:28:56 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-08 18:28:56 +0200
commit44a46fcdd1bb2e8c5838f84c85c8edebc616a41f (patch)
tree03c769d894c18c277a2a6404453dbfce52045ca8
parente7e96d079c0d56822d523b6e073568cb628c8afc (diff)
downloadUXP-44a46fcdd1bb2e8c5838f84c85c8edebc616a41f.tar
UXP-44a46fcdd1bb2e8c5838f84c85c8edebc616a41f.tar.gz
UXP-44a46fcdd1bb2e8c5838f84c85c8edebc616a41f.tar.lz
UXP-44a46fcdd1bb2e8c5838f84c85c8edebc616a41f.tar.xz
UXP-44a46fcdd1bb2e8c5838f84c85c8edebc616a41f.zip
[PALEMOON] [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
Issue #102
-rw-r--r--application/palemoon/base/content/browser.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index 056eef9c8..1b9d9b967 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -6832,6 +6832,12 @@ var TabContextMenu = {
}
};
+#ifdef MOZ_DEVTOOLS
+// Note: Do not delete! It is used for: base/content/nsContextMenu.js
+XPCOMUtils.defineLazyModuleGetter(this, "gDevTools",
+ "resource://devtools/client/framework/gDevTools.jsm");
+#endif
+
// Prompt user to restart the browser in safe mode or normally
function restart(safeMode)
{