X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9657b92faddc9fa9bf765fc7de06aa0a9042e8e9..00108bc9b7e9e03a47d89343e7f53eb924977ff8:/app/assets/javascripts/leaflet.sidebar-pane.js diff --git a/app/assets/javascripts/leaflet.sidebar-pane.js b/app/assets/javascripts/leaflet.sidebar-pane.js index d8213a376..06fad7b66 100644 --- a/app/assets/javascripts/leaflet.sidebar-pane.js +++ b/app/assets/javascripts/leaflet.sidebar-pane.js @@ -1,11 +1,11 @@ L.OSM.sidebarPane = function (options, uiClass, buttonTitle, paneTitle) { - var control = L.control(options); + const control = L.control(options); control.onAdd = function (map) { - var $container = $("