Remove error class when right-click-selecting destination
This commit is contained in:
parent
50aadfc6cd
commit
606c0adf29
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ OSM.Directions = function (map) {
|
||||||
endpoint.setValue = function(value, latlng) {
|
endpoint.setValue = function(value, latlng) {
|
||||||
endpoint.value = value;
|
endpoint.value = value;
|
||||||
delete endpoint.latlng;
|
delete endpoint.latlng;
|
||||||
|
input.removeClass("error");
|
||||||
input.val(value);
|
input.val(value);
|
||||||
|
|
||||||
if (latlng) {
|
if (latlng) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue