X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3871d61be43857436d1eaefe9e84841e8a7d0f4f..71e7208a0aceccf47edce739803130096999da5d:/app/assets/javascripts/leaflet.share.js?ds=inline diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index db9839390..c518eb4e9 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -1,5 +1,5 @@ L.OSM.share = function (options) { - var control = L.control(options), + var control = L.OSM.sidebarPane(options), marker = L.marker([0, 0], { draggable: true }), locationFilter = new L.LocationFilter({ enableButton: false, @@ -10,28 +10,10 @@ L.OSM.share = function (options) { var $container = $("