Added selection support for ids and locations with return key

This commit is contained in:
Christian Schwarz
2013-12-13 11:08:25 +01:00
parent 8eeb47d1a6
commit aa3563c4c1
+1 -1
View File
@@ -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());
}
}