From 44a46fcdd1bb2e8c5838f84c85c8edebc616a41f Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 8 Apr 2018 18:28:56 +0200 Subject: [PALEMOON] [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js) Issue #102 --- application/palemoon/base/content/browser.js | 6 ++++++ 1 file changed, 6 insertions(+) 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) { -- cgit v1.2.3