]> git.openstreetmap.org Git - rails.git/commitdiff
Remove deprecated attributes from share html
authorAnton Khorev <tony29@yandex.ru>
Sat, 29 Jul 2023 17:34:10 +0000 (20:34 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 29 Jul 2023 17:34:10 +0000 (20:34 +0300)
app/assets/javascripts/leaflet.share.js

index b9c48f15a8a3227208da6466fb247a54cf19b547..4e5e3299566178c3119198771dceb9b12ec4cdae 100644 (file)
@@ -315,7 +315,7 @@ L.OSM.share = function (options) {
       }
 
       $("#embed_html").val(
-        "<iframe width=\"425\" height=\"350\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"" +
+        "<iframe width=\"425\" height=\"350\" src=\"" +
           escapeHTML(OSM.SERVER_PROTOCOL + "://" + OSM.SERVER_URL + "/export/embed.html?" + $.param(params)) +
           "\" style=\"border: 1px solid black\"></iframe><br/>" +
           "<small><a href=\"" + escapeHTML(map.getUrl(marker)) + "\">" +