]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Replace note markers with ones styled like the other markers
[rails.git] / app / assets / javascripts / user.js
index 4e1c7d0c3ff19132eced6d9458787b6b788ad220..25456d04ebb080b46564fb359b5801fac551c163 100644 (file)
@@ -33,7 +33,7 @@ $(document).ready(function () {
       var user = $(this).data('user');
       if (user.lon && user.lat) {
         L.marker([user.lat, user.lon], {icon: getUserIcon(user.icon)}).addTo(map)
-          .bindPopup(user.description, {offset: L.point(-1, -20)});
+          .bindPopup(user.description);
       }
     });
   }