Fix search
This commit is contained in:
parent
4efab66bc6
commit
d9f3ceed95
1 changed files with 4 additions and 4 deletions
|
@ -209,10 +209,10 @@ function submitSearch(map) {
|
|||
$("#sidebar_title").html(I18n.t('site.sidebar.search_results'));
|
||||
$("#sidebar_content").load($(this).attr("action"), {
|
||||
query: $("#query").val(),
|
||||
minlon: bounds.getWestLng(),
|
||||
minlat: bounds.getSouthLat(),
|
||||
maxlon: bounds.getEastLng(),
|
||||
maxlat: bounds.getNorthLat()
|
||||
minlon: bounds.getWest(),
|
||||
minlat: bounds.getSouth(),
|
||||
maxlon: bounds.getEast(),
|
||||
maxlat: bounds.getNorth()
|
||||
}, openSidebar);
|
||||
|
||||
return e.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue