X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3cd5f45e08d977d04a778ab8802f71df85edc314..82ff8ef58de69c881f63c0a2ef8f9e8a6ae483e0:/app/assets/javascripts/index/new_note.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/index/new_note.js.erb b/app/assets/javascripts/index/new_note.js.erb index 6f734a35b..9990da783 100644 --- a/app/assets/javascripts/index/new_note.js.erb +++ b/app/assets/javascripts/index/new_note.js.erb @@ -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); } }