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:
parent
ebfbbc0801
commit
565a500320
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ window.open = (url, frameName='', features='') ->
|
||||||
value
|
value
|
||||||
options.x ?= options.left if options.left
|
options.x ?= options.left if options.left
|
||||||
options.y ?= options.top if options.top
|
options.y ?= options.top if options.top
|
||||||
options.title ?= name
|
options.title ?= frameName
|
||||||
options.width ?= 800
|
options.width ?= 800
|
||||||
options.height ?= 600
|
options.height ?= 600
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue