Remove error class when right-click-selecting destination

This commit is contained in:
J Guthrie 2018-04-15 18:05:25 +01:00
parent 50aadfc6cd
commit 606c0adf29

View 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) {