summaryrefslogtreecommitdiffstats
path: root/devtools/client/devtools-startup.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-01 07:17:50 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-01 07:17:50 +0100
commite59c00a5c59aefe2a408eb78509ef3afaf3658f8 (patch)
tree40b8c8bd311ff17abb81edd6f24bb6ad3ce9b9b8 /devtools/client/devtools-startup.js
parentabf60058584772437a317fbc27ea32cbda4a07cb (diff)
downloadUXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar
UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.gz
UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.lz
UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.tar.xz
UXP-e59c00a5c59aefe2a408eb78509ef3afaf3658f8.zip
DevTools - Browser Console - restore sessions
https://github.com/MoonchildProductions/moebius/pull/112
Diffstat (limited to 'devtools/client/devtools-startup.js')
-rw-r--r--devtools/client/devtools-startup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/devtools-startup.js b/devtools/client/devtools-startup.js
index 377ab6419..8f55184d2 100644
--- a/devtools/client/devtools-startup.js
+++ b/devtools/client/devtools-startup.js
@@ -75,9 +75,9 @@ DevToolsStartup.prototype = {
this.initDevTools();
let { require } = Cu.import("resource://devtools/shared/Loader.jsm", {});
- let hudservice = require("devtools/client/webconsole/hudservice");
+ let { HUDService } = require("devtools/client/webconsole/hudservice");
let { console } = Cu.import("resource://gre/modules/Console.jsm", {});
- hudservice.toggleBrowserConsole().then(null, console.error);
+ HUDService.toggleBrowserConsole().then(null, console.error);
} else {
// the Browser Console was already open
window.focus();