X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a6ac56c5e510395d160cdb7ccc7a88d87403e687..aff23d4b4bc9e9fecd5c1caa7e4d38087e002396:/app/assets/javascripts/leaflet.layers.js diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 2bc538798..8bcbb701c 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -18,52 +18,18 @@ L.OSM.layers = function(options) { var $ui = $('
') .attr('class', 'layers-ui'); - $('

') - .text(I18n.t('javascripts.map.layers.header')) - .appendTo($ui); - - if (OSM.STATUS != 'api_offline' && OSM.STATUS != 'database_offline') { - var overlaySection = $('
') - .addClass('overlay-layers') - .appendTo($ui); - - $('

') - .text(I18n.t('javascripts.map.layers.overlays')) - .appendTo(overlaySection); - - var list = $('