From: Tom MacWright Date: Thu, 13 Jun 2013 16:45:16 +0000 (-0400) Subject: Focus share link by default X-Git-Tag: live~5402^2~23 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/c26b60c4c6ec77e903a25adcc8a2ddbd73aa2ebf?ds=sidebyside Focus share link by default --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index e97e29bb5..773145bed 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -29,23 +29,31 @@ L.OSM.share = function (options) { .text(I18n.t('javascripts.share.link')) .appendTo($share_link); + var $input = $('') + .attr('type', 'text') + .appendTo($share_link); + + var $list = $('