X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2a9286a16a0ca0e6aa025b13771d3118040b9d60..7c06f2b47e1ba7ec67e657c233a4add502493e6c:/app/assets/javascripts/index/map_ui.js diff --git a/app/assets/javascripts/index/map_ui.js b/app/assets/javascripts/index/map_ui.js index 6d98f6642..51f00f325 100644 --- a/app/assets/javascripts/index/map_ui.js +++ b/app/assets/javascripts/index/map_ui.js @@ -7,10 +7,11 @@ OSM.MapUI = L.Control.extend({ }, _initLayout: function(map) { - var className = 'leaflet-control-map-ui', + var className = 'control-layers', container = this._container = L.DomUtil.create('div', className); - var link = this._layersLink = L.DomUtil.create('a', 'leaflet-map-ui-layers', container); + var link = this._layersLink = L.DomUtil.create('a', 'control-button', container); + link.innerHTML = ""; link.href = '#'; link.title = 'Layers';