Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Oct 20, 2017
1 parent bef7c33 commit ab77c7d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ function createMenu(opts) {
}
},
{
label: `${toggleAppAcceleratorRegistered ? 'Disable' : 'Enable'} Global Shortcut`,
label: `${toggleAppAcceleratorRegistered
? 'Disable'
: 'Enable'} Global Shortcut`,
click() {
toggleGlobalShortcut({
name: 'toggleApp',
Expand Down Expand Up @@ -182,9 +184,8 @@ function createMenu(opts) {
},
{
label: 'Toggle Developer Tools',
accelerator: 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.webContents.toggleDevTools()
}
Expand Down

0 comments on commit ab77c7d

Please sign in to comment.