]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit.js
Set longitude correctly in "where am I" lookups from the edit page
[rails.git] / app / assets / javascripts / edit.js
index 642aa9bda11ba5d630dfeb7c814ca545971ed5a5..7de65190eb609d6e3db14fac84d237989fc8e31c 100644 (file)
@@ -24,7 +24,7 @@ $(document).ready(function () {
     $("#sidebar_title").html(I18n.t('site.sidebar.search_results'));
     $("#sidebar_content").load($(this).attr("href"), {
       lat: mapParams.lat,
-      lon: mapParams.lng,
+      lon: mapParams.lon,
       zoom: mapParams.zoom
     }, openSidebar);    
   });