]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Merge remote-tracking branch 'upstream/master' into vagrant
[rails.git] / app / assets / javascripts / index.js
index 4a9abc4dc0f78fe5fbb602f3d938a4cf2ff9b737..dc3c932773066ce56a518a9b1c921659cf5ee7e8 100644 (file)
@@ -151,7 +151,7 @@ $(document).ready(function () {
       map._object);
 
     $.removeCookie("_osm_location");
-    $.cookie("_osm_location", cookieContent(map), { expires: expiry, path: "/" });
+    $.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
   });
 
   if ($.cookie('_osm_welcome') == 'hide') {