diff --git a/js/id/svg/points.js b/js/id/svg/points.js index 838faf2bb..2944b0afd 100644 --- a/js/id/svg/points.js +++ b/js/id/svg/points.js @@ -52,7 +52,8 @@ iD.svg.Points = function(projection) { // sets the data (point entity) on the element groups.select('image') .attr('xlink:href', imageHref); - groups.select('.shadow, .stroke'); + groups.select('.shadow'); + groups.select('.stroke'); groups.exit() .remove(); diff --git a/js/id/svg/vertices.js b/js/id/svg/vertices.js index 339c0752a..ca631d188 100644 --- a/js/id/svg/vertices.js +++ b/js/id/svg/vertices.js @@ -39,8 +39,10 @@ iD.svg.Vertices = function(projection) { .classed('shared', function(entity) { return graph.isShared(entity); }); // Selecting the following implicitly - // sets the data (vertix entity) on the elements - groups.select('circle.fill, circle.stroke, circle.shadow'); + // sets the data (vertex entity) on the elements + groups.select('circle.fill'); + groups.select('circle.stroke'); + groups.select('circle.shadow'); groups.exit() .remove();