Correctly select relavent option value when map amrker is clicked

This commit is contained in:
Jonny Barnes 2016-10-07 00:01:11 +01:00
parent 64f856afae
commit a86ebf5297

View file

@ -263,8 +263,8 @@ function parseLocation(point) {
return [location[1], location[0]];
}
function selectPlace(slug) {
document.querySelector('select [value=' + slug + ']').selected = true;
function selectPlace(uri) {
document.querySelector('select [value="' + uri + '"]').selected = true;
}
function getLatitudeFromMapboxMarker(latlng) {