From 565a500320ae673508eb72cb11dfb6ed44c182df Mon Sep 17 00:00:00 2001 From: John Haley Date: Mon, 29 Jun 2015 10:32:27 -0700 Subject: [PATCH] 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`. --- atom/renderer/lib/override.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/renderer/lib/override.coffee b/atom/renderer/lib/override.coffee index 4c2b64a816e0..7c32727cdb04 100644 --- a/atom/renderer/lib/override.coffee +++ b/atom/renderer/lib/override.coffee @@ -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