From: John Firebaugh Date: Thu, 11 Jul 2013 00:24:57 +0000 (-0700) Subject: Add option to include marker in permalinks X-Git-Tag: live~5361^2~25 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f898058e76459562e8d54c61458eba0fb1476f35 Add option to include marker in permalinks --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index 7880abe14..d55b0bbd9 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -44,6 +44,23 @@ L.OSM.share = function (options) { .text(I18n.t('javascripts.share.link')) .appendTo($linkSection); + var $form = $('
') + .attr('class', 'standard-form') + .appendTo($linkSection); + + $('
') + .attr('class', 'form-row') + .appendTo($form) + .append( + $('