X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3e99bc8bd58533b9432518f8d0573995b8082b9..e3062aa794b89a37b53f4b4b39ea1c985f9da82d:/app/assets/javascripts/leaflet.layers.js?ds=sidebyside
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index b04216d26..443e47e76 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -120,10 +120,8 @@ L.OSM.layers = function(options) {
var list = $('
')
.appendTo(overlaySection);
- function addOverlay(layer, name, minZoom) {
- var refName = name.split(' ').join('_').toLowerCase();
+ function addOverlay(layer, name, maxArea) {
var item = $('- ')
- .attr('class', refName)
.tooltip({
placement: 'top'
})
@@ -132,15 +130,18 @@ L.OSM.layers = function(options) {
var label = $('