]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.key.js
Add option to include marker in permalinks
[rails.git] / app / assets / javascripts / leaflet.key.js
index d12187bc2f80581ba5f42d9120c3f0abee31bcf3..c5124e39d6cf139e4e5b1115e2c691fed532303d 100644 (file)
@@ -16,7 +16,7 @@ L.OSM.key = function (options) {
     var $ui = $('<div>')
       .attr('class', 'key-ui');
 
-    $('<header>')
+    $('<div>')
       .attr('class', 'sidebar_heading')
       .appendTo($ui)
       .append(
@@ -29,7 +29,8 @@ L.OSM.key = function (options) {
         $('<h4>')
           .text(I18n.t('javascripts.key.title')));
 
-    var $section = $('<section>')
+    var $section = $('<div>')
+      .attr('class', 'section')
       .appendTo($ui);
 
     options.sidebar.addPane($ui);