Set longitude correctly in "where am I" lookups from the edit page

This commit is contained in:
Tom Hughes 2013-08-12 23:58:34 +01:00
parent 78d6bde485
commit 1a9651ffb0

View file

@ -24,7 +24,7 @@ $(document).ready(function () {
$("#sidebar_title").html(I18n.t('site.sidebar.search_results')); $("#sidebar_title").html(I18n.t('site.sidebar.search_results'));
$("#sidebar_content").load($(this).attr("href"), { $("#sidebar_content").load($(this).attr("href"), {
lat: mapParams.lat, lat: mapParams.lat,
lon: mapParams.lng, lon: mapParams.lon,
zoom: mapParams.zoom zoom: mapParams.zoom
}, openSidebar); }, openSidebar);
}); });