]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions.js
Adjust minimum changeset bbox to 20 pixels
[rails.git] / app / assets / javascripts / index / directions.js
index 2b3319f8f35c1e95279b88af763c5b348ac78521..8a80328cc05c3767813ac7ff3823330001095d9e 100644 (file)
@@ -69,6 +69,7 @@ OSM.Directions = function (map) {
     endpoint.setValue = function(value, latlng) {
       endpoint.value = value;
       delete endpoint.latlng;
+      input.removeClass("error");
       input.val(value);
 
       if (latlng) {