mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
move event name to title attribute
This was causing a bit of a headache because the event names could be really really long. They're also not useful for everyday use, but for package authors, so lets make them less prominent.
This commit is contained in:
@@ -41,9 +41,8 @@ class CommandPaletteView extends SelectList
|
||||
keyBindings = @keyBindings
|
||||
$$ ->
|
||||
@li class: 'event', 'data-event-name': eventName, =>
|
||||
@div eventDescription, class: 'event-description'
|
||||
@span eventDescription, class: 'label', title: eventName
|
||||
@div class: 'right', =>
|
||||
@div eventName, class: 'label'
|
||||
for binding in keyBindings[eventName] ? []
|
||||
@kbd binding, class: 'key-binding'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user