From d9de21441fc09fc7ce142a68e9e63633e67b373a Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Mon, 2 May 2016 11:55:40 -0400 Subject: [PATCH] Fixing the help dialog events --- src/app/index.js | 2 +- src/main/window-manager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/index.js b/src/app/index.js index 4ca7d302b8a..60f8880b149 100644 --- a/src/app/index.js +++ b/src/app/index.js @@ -169,7 +169,7 @@ var Application = View.extend({ url += '/' + id; } - ipc.call('app:open-url', id); + ipc.call('app:show-help-window', id); }, onClientReady: function() { debug('Client ready! Took %dms to become readable', diff --git a/src/main/window-manager.js b/src/main/window-manager.js index fafc2451b4d..a26901169be 100644 --- a/src/main/window-manager.js +++ b/src/main/window-manager.js @@ -177,7 +177,7 @@ function showAboutDialog() { }); } -function showHelpWindow(id) { +function showHelpWindow(win, id) { if (helpWindow) { helpWindow.focus(); if (_.isString(id)) {