Correctly select relavent option value when map amrker is clicked
This commit is contained in:
parent
64f856afae
commit
a86ebf5297
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue