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