From: Anton Khorev Date: Sat, 17 Sep 2022 06:14:46 +0000 (+0300) Subject: Remove unnecessary appendTo() that is undone by append() right away X-Git-Tag: live~979^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7702035963a14de28d5df080389c7496fda7f4e3 Remove unnecessary appendTo() that is undone by append() right away --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index f6ab47cf2..e941a70f4 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -92,8 +92,7 @@ L.OSM.share = function (options) { .append( $("

") .attr("class", "text-muted") - .text(I18n.t("javascripts.share.paste_html")) - .appendTo($linkSection)); + .text(I18n.t("javascripts.share.paste_html"))); // Geo URI