Don't print error when window.open failed
This commit is contained in:
parent
619a397ec9
commit
7c65d05b02
1 changed files with 0 additions and 1 deletions
|
@ -70,7 +70,6 @@ window.open = (url, frameName='', features='') ->
|
||||||
if guestId
|
if guestId
|
||||||
new BrowserWindowProxy(guestId)
|
new BrowserWindowProxy(guestId)
|
||||||
else
|
else
|
||||||
console.error 'It is not allowed to open new window from this WebContents'
|
|
||||||
null
|
null
|
||||||
|
|
||||||
# Use the dialog API to implement alert().
|
# Use the dialog API to implement alert().
|
||||||
|
|
Loading…
Reference in a new issue