]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unnecessary appendTo() that is undone by append() right away
authorAnton Khorev <tony29@yandex.ru>
Sat, 17 Sep 2022 06:14:46 +0000 (09:14 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 17 Sep 2022 06:14:46 +0000 (09:14 +0300)
app/assets/javascripts/leaflet.share.js

index f6ab47cf2fb507467d5b0a06ba44f06a68d3092c..e941a70f41ae2a492e522b7c689dbfa4557244bf 100644 (file)
@@ -92,8 +92,7 @@ L.OSM.share = function (options) {
       .append(
         $("<p>")
           .attr("class", "text-muted")
       .append(
         $("<p>")
           .attr("class", "text-muted")
-          .text(I18n.t("javascripts.share.paste_html"))
-          .appendTo($linkSection));
+          .text(I18n.t("javascripts.share.paste_html")));
 
     // Geo URI
 
 
     // Geo URI