geoloc: consider village for city name (#6628)
This commit is contained in:
parent
cc22e4511e
commit
a54f3df84d
|
@ -10,7 +10,7 @@ $(function() {
|
|||
}
|
||||
$('div[data-geolocation="number-and-street"] input').val(number_and_street);
|
||||
$('div[data-geolocation="postcode"] input').val(data.address.postcode);
|
||||
$('div[data-geolocation="city"] input').val(data.address.town || data.address.city || data.address.county);
|
||||
$('div[data-geolocation="city"] input').val(data.address.village || data.address.town || data.address.city || data.address.county);
|
||||
$('div[data-geolocation="country"] input').val(data.address.country);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue