Remove list styling from the lists used in the layers sidebar
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 16 Jan 2020 10:33:46 +0000 (11:33 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 16 Jan 2020 10:33:46 +0000 (11:33 +0100)
app/assets/javascripts/leaflet.layers.js

index 241880a..87ff873 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) {
@@ -119,7 +119,7 @@ L.OSM.layers = function (options) {
         .attr("class", "deemphasize")
         .appendTo(overlaySection);
 
-      var overlays = $("<ul>")
+      var overlays = $("<ul class='list-unstyled'>")
         .appendTo(overlaySection);
 
       var addOverlay = function (layer, name, maxArea) {