]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/new_note.js.erb
Firefox-friendly calculation of dragstart offset
[rails.git] / app / assets / javascripts / index / new_note.js.erb
index 6f734a35b141905896d0e8029c6030d5c30456ae..9990da7836c366830edb216b614a2a5e5ebf6634 100644 (file)
@@ -61,7 +61,7 @@ OSM.NewNote = function(map) {
       newNote = null;
       noteLayer.removeLayer(marker);
       addNoteButton.removeClass("active");
-      OSM.route('/note/' + feature.properties.id);
+      OSM.router.route('/note/' + feature.properties.id);
     }
   }