diff --git a/js/iD/actions/actions.js b/js/iD/actions/actions.js index 477f44915..876f280cd 100644 --- a/js/iD/actions/actions.js +++ b/js/iD/actions/actions.js @@ -9,6 +9,9 @@ iD.actions.AddPlace = { enter: function() { d3.selectAll('button').classed('active', false); d3.selectAll('button#place').classed('active', true); + + // Bind clicks to the map to 'add a place' and + // add little floaty place }, exit: function() { d3.selectAll('button#place').classed('active', false); @@ -24,6 +27,9 @@ iD.actions.AddRoad = { enter: function() { d3.selectAll('button').classed('active', false); d3.selectAll('button#road').classed('active', true); + + // Bind clicks to the map to 'add a road' and + // add little floaty point }, exit: function() { d3.selectAll('button#road').classed('active', false); @@ -39,6 +45,9 @@ iD.actions.AddArea = { enter: function() { d3.selectAll('button').classed('active', false); d3.selectAll('button#area').classed('active', true); + + // Bind clicks to the map to 'add an area' and + // add little floaty point }, exit: function() { d3.selectAll('button#area').classed('active', false);