From 9a64b2775de6da8d4e9144914353d61cd1ed58a9 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Thu, 12 Sep 2013 11:57:11 -0700 Subject: [PATCH] :lipstick: --- src/window-event-handler.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window-event-handler.coffee b/src/window-event-handler.coffee index 1c8271a8a..da2cf8a3c 100644 --- a/src/window-event-handler.coffee +++ b/src/window-event-handler.coffee @@ -17,7 +17,7 @@ class WindowEventHandler @subscribe $(window), 'focus', -> $("body").removeClass('is-blurred') @subscribe $(window), 'blur', -> $("body").addClass('is-blurred') @subscribe $(window), 'window:open-path', (event, {pathToOpen, initialLine}) -> - rootView?.open(pathToOpen, initialLine: initialLine) unless fsUtils.isDirectorySync(pathToOpen) + rootView?.open(pathToOpen, {initialLine}) unless fsUtils.isDirectorySync(pathToOpen) @subscribe $(window), 'beforeunload', -> rootView?.confirmClose() @subscribeToCommand $(window), 'window:toggle-full-screen', => atom.toggleFullScreen()