From 18f3adbf5d66e09b4a7c8f0951acd6cb65a2a219 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 25 Dec 2024 03:43:54 +0300 Subject: [PATCH] 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. --- app/assets/javascripts/index/new_note.js | 1 - 1 file changed, 1 deletion(-) 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) { -- 2.39.5