X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5c0aeb1558a778cd5790be5e062c2df7d9b51da6..c30f20122d1f2f0f49240aae17d1233dd745e1e5:/app/assets/javascripts/leaflet.share.js?ds=sidebyside diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index a5e93a139..b808bc435 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -16,7 +16,7 @@ L.OSM.share = function (options) { var $ui = $('
') .attr('class', 'share-ui'); - $('
') + $('
') .attr('class', 'sidebar_heading') .appendTo($ui) .append( @@ -29,38 +29,24 @@ L.OSM.share = function (options) { $('

') .text(I18n.t('javascripts.share.title'))); - var $share_link = $('
') + var $linkSection = $('
') + .attr('class', 'section share-link') .appendTo($ui); - var $title = $('

') + $('

') .text(I18n.t('javascripts.share.link')) - .appendTo($share_link); + .appendTo($linkSection); - var $input = $('') - .attr('type', 'text') - .appendTo($share_link); + var $shortLink, $longLink; - var $list = $('