Merge remote-tracking branch 'upstream/pull/1820'

This commit is contained in:
Tom Hughes 2018-04-15 19:57:37 +01:00
commit 2160f820ac

View file

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