diff --git a/js/plugin/POIMarkers.js b/js/plugin/POIMarkers.js index 612e609..42f2409 100644 --- a/js/plugin/POIMarkers.js +++ b/js/plugin/POIMarkers.js @@ -83,7 +83,8 @@ BR.PoiMarkers = L.Control.extend({ var self = this; bootbox.prompt({ title: i18next.t('map.enter-poi-name'), - required: true, + // allow empty name with client-side formatting + required: !BR.Browser.download, callback: function (result) { if (result !== null) { self.addMarker(e.latlng, result);