mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Only display ‘Inspect Element’ item in dev mode
This commit is contained in:
@@ -27,6 +27,7 @@ class ContextMenuManager
|
||||
@add '.workspace': [{
|
||||
label: 'Inspect Element'
|
||||
command: 'application:inspect'
|
||||
devMode: true
|
||||
created: (event) ->
|
||||
{pageX, pageY} = event
|
||||
@commandOptions = {x: pageX, y: pageY}
|
||||
|
||||
Reference in New Issue
Block a user