X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5c0aeb1558a778cd5790be5e062c2df7d9b51da6..aff23d4b4bc9e9fecd5c1caa7e4d38087e002396:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index a5e93a139..f261a9d72 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -29,38 +29,24 @@ L.OSM.share = function (options) { $('

') .text(I18n.t('javascripts.share.title'))); - var $share_link = $('
') + var $linkSection = $('
') + .attr('class', '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 = $('