From: J Guthrie Date: Sun, 15 Apr 2018 17:05:25 +0000 (+0100) Subject: Remove error class when right-click-selecting destination X-Git-Tag: live~3062^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/606c0adf29743035a01e761e6d97cb1f07449ebf Remove error class when right-click-selecting destination --- diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index 2b3319f8f..8a80328cc 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -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) {