]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_friend_map.rhtml
Report a friendly error for attempts to reference a user that does
[rails.git] / app / views / user / _friend_map.rhtml
index fd86ab10c37187c96f2828ebba680d220e537359..9bdb39aae50796a7d802dbdc22a4e5bd7ca315a3 100644 (file)
@@ -73,7 +73,7 @@
         removeMarkerFromMap(marker);
       }
 
-      marker = addMarkerToMap(merc, null, "Your location");
+      marker = addMarkerToMap(lonlat, null, "Your location");
     }
   }