From: Andy Allan Date: Wed, 17 Feb 2021 17:17:19 +0000 (+0000) Subject: Refactor the share panel to use bootstrap forms X-Git-Tag: live~2200^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/501e25641969c0cf779c1178ca7f2613c88ca933?hp=5c086dad6ed20bdd877ae53251ff8a097b61cc9a Refactor the share panel to use bootstrap forms --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index 8705f47ff..79cb95973 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -44,19 +44,20 @@ L.OSM.share = function (options) { .appendTo($linkSection); var $form = $("
") - .attr("class", "standard-form") .appendTo($linkSection); $("
") - .attr("class", "standard-form-row") + .attr("class", "form-check form-group") .appendTo($form) .append( $("