Fix javascript eror redirecting to new notes
This commit is contained in:
parent
d5a765588f
commit
63617dabb1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ OSM.NewNote = function(map) {
|
||||||
newNote = null;
|
newNote = null;
|
||||||
noteLayer.removeLayer(marker);
|
noteLayer.removeLayer(marker);
|
||||||
addNoteButton.removeClass("active");
|
addNoteButton.removeClass("active");
|
||||||
OSM.route('/note/' + feature.properties.id);
|
OSM.router.route('/note/' + feature.properties.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue