From: Anton Khorev Date: Wed, 25 Dec 2024 00:43:54 +0000 (+0300) Subject: Remove unused return value of addCreatedNoteMarker() X-Git-Tag: live~152^2~9 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/18f3adbf5d66e09b4a7c8f0951acd6cb65a2a219 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. --- diff --git a/app/assets/javascripts/index/new_note.js b/app/assets/javascripts/index/new_note.js index bd093e11a..7eb132383 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -57,7 +57,6 @@ OSM.NewNote = function (map) { }); marker.id = feature.properties.id; marker.addTo(noteLayer); - return marker; } page.pushstate = page.popstate = function (path) {