X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/439ad373ec5ee364003625e56159b1dce5fb186e..dd12e1de637d5242c8ac7ed933fd8a3f70a70367:/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 2d28c256c..bb00f716c 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -120,7 +120,7 @@ L.OSM.layers = function(options) {
var list = $('
')
.appendTo(overlaySection);
- function addOverlay(layer, name, minZoom) {
+ function addOverlay(layer, name, maxArea) {
var refName = name.split(' ').join('_').toLowerCase();
var item = $('- ')
.attr('class', refName)
@@ -132,15 +132,18 @@ L.OSM.layers = function(options) {
var label = $('