diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index 3a401d2f8..e5f3de828 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -10,7 +10,7 @@ iD.commit = function() { header.append('p').text('the changes you upload will be visible on all maps using OpenStreetMap data'); var section = body.selectAll('div.commit-section') - .data(['modify', 'delete', 'create'].filter(function(d) { + .data(['modified', 'deleted', 'created'].filter(function(d) { return changes[d].length; })) .enter()