mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Added selection support for ids and locations with return key
This commit is contained in:
@@ -12,7 +12,7 @@ iD.ui.FeatureList = function(context) {
|
||||
var q = search.property('value'),
|
||||
items = list.selectAll('.feature-list-item');
|
||||
if (d3.event.keyCode === 13 && q.length && items.size()) {
|
||||
click(items.datum().entity);
|
||||
click(items.datum());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user