X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f102f2726ad73c4c5f90bda1e7ec5f74774a7bb..9172695f7f94bb60dd01455a922e22d181eb284e:/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 ea0bf63a0..9841b0651 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -89,7 +89,7 @@ L.OSM.layers = function(options) { map.whenReady(function() { var miniMap = L.map(div[0], {attributionControl: false, zoomControl: false}) - .addLayer(new layer.constructor); + .addLayer(new layer.constructor()); miniMap.dragging.disable(); miniMap.touchZoom.disable();