mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Remove unneeded ?
AtomWindow always has a non-null browserWindow property
This commit is contained in:
@@ -142,7 +142,7 @@ class AtomApplication
|
||||
@on 'application:open-dev', -> @promptForPath(devMode: true)
|
||||
@on 'application:inspect', ({x,y, atomWindow}) ->
|
||||
atomWindow ?= @focusedWindow()
|
||||
atomWindow?.browserWindow?.inspectElement(x, y)
|
||||
atomWindow?.browserWindow.inspectElement(x, y)
|
||||
|
||||
@on 'application:open-documentation', -> shell.openExternal('https://atom.io/docs/latest/?app')
|
||||
@on 'application:install-update', -> @autoUpdateManager.install()
|
||||
|
||||
Reference in New Issue
Block a user