From dcd832e88cb8c032c91ea181bd2024217d4f9316 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 21 Jun 2016 09:38:35 -0700 Subject: [PATCH] :art: --- default_app/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/default_app/main.js b/default_app/main.js index 9df5f394aec1..91fbbdfbef11 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -112,9 +112,7 @@ app.once('ready', () => { }, { label: 'Toggle Developer Tools', - accelerator: (() => { - return (process.platform === 'darwin') ? 'Alt+Command+I' : 'Ctrl+Shift+I' - })(), + accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I', click (item, focusedWindow) { if (focusedWindow) focusedWindow.toggleDevTools() }