X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f444fc99e6247bc0300402c87f7d08470a9c8f9..22408c3e5bbce14b70b56be3a02122e2db3de896:/app/assets/javascripts/index/note.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/index/note.js.erb b/app/assets/javascripts/index/note.js.erb index 6458626f4..5022cfb80 100644 --- a/app/assets/javascripts/index/note.js.erb +++ b/app/assets/javascripts/index/note.js.erb @@ -38,7 +38,7 @@ OSM.Note = function (map) { } else if (marker) { marker.setIcon(noteIcons[feature.properties.status]); } - page.load(); + OSM.loadSidebarContent(window.location.pathname, page.load); } }); } @@ -78,7 +78,9 @@ OSM.Note = function (map) { if (!map.hasLayer(halo)) { halo = L.circleMarker(data.coordinates.split(','), { weight: 2.5, - radius: 20 + radius: 20, + fillOpacity: 0.5, + color: "#FF6200" }); map.addLayer(halo); }