mirror of
https://github.com/electron/electron.git
synced 2026-01-22 22:08:14 -05:00
Fix window.open with wrong name
When calling `window.open` the newly created window would have the name of the last option in the `features` argument as the title. I think it's supposed to be pointed to `frameName`.
This commit is contained in:
@@ -45,7 +45,7 @@ window.open = (url, frameName='', features='') ->
|
||||
value
|
||||
options.x ?= options.left if options.left
|
||||
options.y ?= options.top if options.top
|
||||
options.title ?= name
|
||||
options.title ?= frameName
|
||||
options.width ?= 800
|
||||
options.height ?= 600
|
||||
|
||||
|
||||
Reference in New Issue
Block a user