mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
use kbd element for keyboard binding
This commit is contained in:
@@ -45,8 +45,7 @@ class CommandPaletteView extends SelectList
|
||||
@div class: 'right', =>
|
||||
@div eventName, class: 'label'
|
||||
for binding in keyBindings[eventName] ? []
|
||||
@div binding, class: 'key-binding'
|
||||
@div class: 'clear-float'
|
||||
@kbd binding, class: 'key-binding'
|
||||
|
||||
confirmed: ({eventName}) ->
|
||||
@cancel()
|
||||
|
||||
Reference in New Issue
Block a user