From 501e25641969c0cf779c1178ca7f2613c88ca933 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 17 Feb 2021 17:17:19 +0000 Subject: [PATCH] Refactor the share panel to use bootstrap forms --- app/assets/javascripts/leaflet.share.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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( $("