Fix javascript eror redirecting to new notes

This commit is contained in:
Tom Hughes 2013-12-01 22:41:30 +00:00
parent d5a765588f
commit 63617dabb1

View 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);
}
}