X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc8751cf7af7ce0e0033c078dac064d62ab819e6..b1dae2e7988d5e808b1716eb331d359575e829e5:/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 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 = $('