Show line/area/way/etc in commits. Fixes #1215

This commit is contained in:
Tom MacWright
2013-04-22 15:39:16 -04:00
parent d9d15ca002
commit 947de96edf
+2 -2
View File
@@ -7,7 +7,7 @@ iD.ui.Commit = function(context) {
for (var i = 0; i < d.length; i++) {
var desc = {
name: d[i].tags.name || presets.match(d[i], context.graph()).name(),
type: d[i].type,
geometry: context.geometry(d[i].id),
count: 1,
tagText: iD.util.tagText(d[i])
};
@@ -136,7 +136,7 @@ iD.ui.Commit = function(context) {
li.append('strong')
.text(function(d) {
return (d.count > 1) ? d.type + 's ' : d.type + ' ';
return (d.count > 1) ? d.geometry + 's ' : d.geometry + ' ';
});
li.append('span')