]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/notes.js.erb
Merge pull request #11 from danstowell/jsrouting-pulldownchange
[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) {