]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.layers.js
Merge remote-tracking branch 'upstream/pull/2711'
[rails.git] / app / assets / javascripts / leaflet.layers.js
index 241880a20ebe874f302dfc0c4249bddf251df52c..ddcce195daba2d5f7724d2b81ab876d51d6efeeb 100644 (file)
@@ -34,7 +34,7 @@ L.OSM.layers = function (options) {
       .attr("class", "section base-layers")
       .appendTo($ui);
 
-    var baseLayers = $("<ul>")
+    var baseLayers = $("<ul class='list-unstyled'>")
       .appendTo(baseSection);
 
     layers.forEach(function (layer) {
@@ -116,10 +116,10 @@ L.OSM.layers = function (options) {
 
       $("<p>")
         .text(I18n.t("javascripts.map.layers.overlays"))
-        .attr("class", "deemphasize")
+        .attr("class", "text-muted")
         .appendTo(overlaySection);
 
-      var overlays = $("<ul>")
+      var overlays = $("<ul class='list-unstyled'>")
         .appendTo(overlaySection);
 
       var addOverlay = function (layer, name, maxArea) {