Fix search

This commit is contained in:
John Firebaugh 2013-07-11 12:57:19 -07:00
parent 4efab66bc6
commit d9f3ceed95

View file

@ -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();