fix bug whe nclicking on "show nearby locations"
This commit is contained in:
parent
d1727a5a7b
commit
3134829cc7
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,6 @@ c3nav = {
|
||||||
c3nav._click_anywhere_load(false);
|
c3nav._click_anywhere_load(false);
|
||||||
} else if ($(this).is('.show-nearby')) {
|
} else if ($(this).is('.show-nearby')) {
|
||||||
c3nav._click_anywhere_load(true);
|
c3nav._click_anywhere_load(true);
|
||||||
c3nav.update_state(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1282,6 +1281,7 @@ c3nav = {
|
||||||
if (nearby) {
|
if (nearby) {
|
||||||
var $destination = $('#destination-input');
|
var $destination = $('#destination-input');
|
||||||
c3nav._locationinput_set($destination, data);
|
c3nav._locationinput_set($destination, data);
|
||||||
|
c3nav.update_state(false);
|
||||||
} else {
|
} else {
|
||||||
newpopup = L.popup(c3nav._add_map_padding({
|
newpopup = L.popup(c3nav._add_map_padding({
|
||||||
className: 'location-popup',
|
className: 'location-popup',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue