Reuse styles for map-ui panel

This commit is contained in:
Tom MacWright 2013-06-13 12:15:43 -04:00 committed by John Firebaugh
parent 9172695f7f
commit e96a64ca9c
6 changed files with 29 additions and 14 deletions

View file

@ -16,9 +16,11 @@ L.OSM.key = function (options) {
var $ui = $('<div>')
.attr('class', 'layers-ui');
$('<h2>')
.text(I18n.t('javascripts.key.title'))
.appendTo($ui);
$('<section>')
.appendTo($ui)
.append(
$('<h2>')
.text(I18n.t('javascripts.key.title')));
var $section = $('<section>')
.appendTo($ui);