]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/notes.js.erb
Add 'x' to close welcome box; remember preference
[rails.git] / app / assets / javascripts / index / notes.js.erb
index 11363fca8ed64c40a0522e9910fe10c104280e59..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) {