diff options
Diffstat (limited to 'devtools/client/devtools-startup.js')
-rw-r--r-- | devtools/client/devtools-startup.js | 4 |
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(); |