]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/notes.js.erb
Stop query button disabling query mode once it is active
[rails.git] / app / assets / javascripts / index / notes.js.erb
index 3bcdd4a198dddc889dacab5bba7068669ab5e592..841ae1f7bdf652096e80399782474513deb1d880 100644 (file)
@@ -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;