X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..04cb8d488eecb69dfd0bd2958f60a9bd2c7858c2:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index 8b1446ff8..8705f47ff 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -116,7 +116,7 @@ L.OSM.share = function (options) { .on("click", select)) .append( $("

") - .attr("class", "deemphasize") + .attr("class", "text-muted") .text(I18n.t("javascripts.share.paste_html")) .appendTo($linkSection)); @@ -147,7 +147,7 @@ L.OSM.share = function (options) { $("

") .attr("id", "export-warning") - .attr("class", "deemphasize") + .attr("class", "text-muted") .text(I18n.t("javascripts.share.only_standard_layer")) .appendTo($imageSection); @@ -222,9 +222,14 @@ L.OSM.share = function (options) { .attr("type", "hidden") .appendTo($form); + var args = { + width: "", + height: "" + }; + $("

") - .attr("class", "deemphasize") - .html(I18n.t("javascripts.share.image_size") + " x ") + .attr("class", "text-muted") + .html(I18n.t("javascripts.share.image_dimensions", args)) .appendTo($form); $("")