Improve #1307
This commit is contained in:
parent
b52771e729
commit
32cd068427
5 changed files with 7 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue