diff --git a/js/id/ui/scale.js b/js/id/ui/scale.js index 7f165c5c1..3824cfddc 100644 --- a/js/id/ui/scale.js +++ b/js/id/ui/scale.js @@ -61,7 +61,7 @@ iD.ui.Scale = function(context) { } return scale; - }; + } function update(selection) { // choose loc1, loc2 along bottom of viewport (near where the scale will be drawn) @@ -77,7 +77,7 @@ iD.ui.Scale = function(context) { .attr('x', scale.px + 8) .attr('y', tickHeight) .text(scale.text); - }; + } return function(selection) { var g = selection.append('svg')