X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f3cb3c6246e6e271761e714cceb081e85a4d245..2ba85472be499331cc0e9d7e65c124c409819baa:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index 0b868d2ca..7713a6b14 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -8,6 +8,7 @@ L.OSM.share = function (options) { control.onAddPane = function (map, button, $ui) { // Link / Embed + $("#content").addClass("overlay-right-sidebar"); var $linkSection = $("
") .attr("class", "share-link p-3 border-bottom border-secondary-subtle") @@ -129,7 +130,12 @@ L.OSM.share = function (options) { $("
") .attr("id", "export-warning") .attr("class", "text-body-secondary") - .text(I18n.t("javascripts.share.only_standard_layer")) + .text(I18n.t("javascripts.share.only_layers_exported_as_image")) + .append( + $("