This commit is contained in:
Cheng Zhao 2015-03-27 16:24:33 +08:00
parent b52771e729
commit 32cd068427
5 changed files with 7 additions and 8 deletions

View file

@ -42,7 +42,7 @@ BrowserWindow::_init = ->
BrowserWindow::openDevTools = (options={}) ->
options.detach ?= false
@_openDevTools(options.detach)
@_openDevTools !options.detach
# Force devToolsWebContents to be created.
@devToolsWebContents = @getDevToolsWebContents()