]> git.openstreetmap.org Git - rails.git/commitdiff
Undo commenting out code
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 5 Nov 2013 20:38:41 +0000 (12:38 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 5 Nov 2013 20:38:47 +0000 (12:38 -0800)
app/assets/javascripts/leaflet.layers.js

index fffafa1217b4071d4b5fdf5b98c998b5d4b52b64..d40a1b6037515f1276765fafd5b217f5c3953219 100644 (file)
@@ -83,10 +83,10 @@ L.OSM.layers = function(options) {
       var label = $('<label>')
         .appendTo(item);
 
-      // var input = $('<input>')
-      //   .attr('type', 'radio')
-      //   .prop('checked', map.hasLayer(layer))
-      //   .appendTo(label);
+      var input = $('<input>')
+         .attr('type', 'radio')
+         .prop('checked', map.hasLayer(layer))
+         .appendTo(label);
 
       label.append(layer.options.name);