diff --git a/public/static/js/map_editor.js b/public/static/js/map_editor.js index 9f790a4..5c8b574 100644 --- a/public/static/js/map_editor.js +++ b/public/static/js/map_editor.js @@ -82,6 +82,10 @@ }) .addTo(MapEditor.map) .on('click', function () { + if (MapEditor.selectedMarker === this) { + return; + } + MapEditor.select(this); }); }