mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use class instead of id for autocomplete
This commit is contained in:
@@ -8,7 +8,7 @@ fuzzyFilter = require 'fuzzy-filter'
|
||||
module.exports =
|
||||
class Autocomplete extends View
|
||||
@content: ->
|
||||
@div id: 'autocomplete', =>
|
||||
@div class: 'autocomplete', =>
|
||||
@ol outlet: 'matchesList'
|
||||
@subview 'miniEditor', new Editor(mini: true)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
window.keymap.bindKeys '.editor',
|
||||
'escape': 'autocomplete:attach'
|
||||
|
||||
window.keymap.bindKeys '#autocomplete .editor',
|
||||
window.keymap.bindKeys '.autocomplete .editor',
|
||||
'enter': 'autocomplete:confirm'
|
||||
'escape': 'autocomplete:cancel'
|
||||
|
||||
Reference in New Issue
Block a user