From bb2929f0610bf8e10420376d458ca7eb82de4c0e Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 23 Aug 2011 10:36:54 -0700 Subject: [PATCH] fun --- HTML/osx.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/HTML/osx.coffee b/HTML/osx.coffee index 5e1345301..d2830d796 100644 --- a/HTML/osx.coffee +++ b/HTML/osx.coffee @@ -46,9 +46,8 @@ Chrome = pb.setString_forType text, OSX.NSStringPboardType openURL: (url) -> - c = OSX.AtomWindowController.alloc.initWithURL url - c.window - c.window.makeKeyAndOrderFront null + window.location = url + Chrome.title _.last url.split '/' # name - Command name, like "Find in file" # shortcut - String command name, e.g.