]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/notes.js.erb
Filter out nodes which are too far away
[rails.git] / app / assets / javascripts / index / notes.js.erb
index 928d91fe2fee5fc18d0eb637776bc4ae800a4f3b..841ae1f7bdf652096e80399782474513deb1d880 100644 (file)
@@ -34,7 +34,7 @@ function initializeNotes(map) {
   });
 
   noteLayer.on('click', function(e) {
-    OSM.router.route('/browse/note/' + e.layer.id);
+    OSM.router.route('/note/' + e.layer.id);
   });
 
   function updateMarker(marker, feature) {