X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..6f762ae184385413e142e5b2b1e4399007dc8a67:/app/assets/javascripts/leaflet.layers.js
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index 7703529b8..443e47e76 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -121,9 +121,7 @@ L.OSM.layers = function(options) {
.appendTo(overlaySection);
function addOverlay(layer, name, maxArea) {
- var refName = name.split(' ').join('_').toLowerCase();
var item = $('
')
- .attr('class', refName)
.tooltip({
placement: 'top'
})
@@ -132,15 +130,18 @@ L.OSM.layers = function(options) {
var label = $('