From: John Firebaugh Date: Wed, 10 Jul 2013 22:17:42 +0000 (-0700) Subject: Switch back to links for sharing X-Git-Tag: live~5463^2~10 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/68a46f24522786b535809b0846d0bb6502c97406?hp=dc8751cf7af7ce0e0033c078dac064d62ab819e6 Switch back to links for sharing --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index e34d5ffdb..f261a9d72 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -29,39 +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') - .on('click', select) - .appendTo($share_link); + var $shortLink, $longLink; - var $list = $('