X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc8751cf7af7ce0e0033c078dac064d62ab819e6..7094370208712e77d92ea2ad0d76e160742d6c0a:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index e34d5ffdb..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,39 +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') - .on('click', select) - .appendTo($share_link); + var $shortLink, $longLink; - var $list = $('