X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d380ce79aabcd98ade3eabe8f982e516311f6aee..565f661f20ad0caca2b91cba4d036ff65ee6e9ec:/app/assets/javascripts/index/notes.js.erb diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 3bcdd4a19..841ae1f7b 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -34,7 +34,7 @@ function initializeNotes(map) { }); noteLayer.on('click', function(e) { - OSM.route('/browse/note/' + e.layer.id); + OSM.router.route('/note/' + e.layer.id); }); function updateMarker(marker, feature) { @@ -43,7 +43,7 @@ function initializeNotes(map) { } else { marker = L.marker(feature.geometry.coordinates.reverse(), { icon: noteIcons[feature.properties.status], - opacity: 0.9, + opacity: 0.8, clickable: true }); marker.id = feature.properties.id;