Remove unused return value of addCreatedNoteMarker()

This function adds a marker to notes layer. This controller doesn't need to do anything with markers of existing notes.
This commit is contained in:
Anton Khorev 2024-12-25 03:43:54 +03:00
parent ae5b7812cc
commit 18f3adbf5d

View file

@ -57,7 +57,6 @@ OSM.NewNote = function (map) {
}); });
marker.id = feature.properties.id; marker.id = feature.properties.id;
marker.addTo(noteLayer); marker.addTo(noteLayer);
return marker;
} }
page.pushstate = page.popstate = function (path) { page.pushstate = page.popstate = function (path) {