IE compatibility
This commit is contained in:
parent
aff23d4b4b
commit
f5f4bfd725
4 changed files with 12 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -18,7 +18,7 @@ L.OSM.layers = function(options) {
|
|||
var $ui = $('<div>')
|
||||
.attr('class', 'layers-ui');
|
||||
|
||||
$('<header>')
|
||||
$('<div>')
|
||||
.attr('class', 'sidebar_heading')
|
||||
.appendTo($ui)
|
||||
.append(
|
||||
|
@ -31,8 +31,8 @@ L.OSM.layers = function(options) {
|
|||
$('<h4>')
|
||||
.text(I18n.t('javascripts.map.layers.header')));
|
||||
|
||||
var baseSection = $('<section>')
|
||||
.addClass('base-layers')
|
||||
var baseSection = $('<div>')
|
||||
.attr('class', 'section base-layers')
|
||||
.appendTo($ui);
|
||||
|
||||
$('<p>')
|
||||
|
@ -109,8 +109,8 @@ L.OSM.layers = function(options) {
|
|||
});
|
||||
|
||||
if (OSM.STATUS != 'api_offline' && OSM.STATUS != 'database_offline') {
|
||||
var overlaySection = $('<section>')
|
||||
.addClass('overlay-layers')
|
||||
var overlaySection = $('<div>')
|
||||
.attr('class', 'section overlay-layers')
|
||||
.appendTo($ui);
|
||||
|
||||
$('<p>')
|
||||
|
|
|
@ -16,7 +16,7 @@ L.OSM.share = function (options) {
|
|||
var $ui = $('<div>')
|
||||
.attr('class', 'share-ui');
|
||||
|
||||
$('<header>')
|
||||
$('<div>')
|
||||
.attr('class', 'sidebar_heading')
|
||||
.appendTo($ui)
|
||||
.append(
|
||||
|
@ -29,8 +29,8 @@ L.OSM.share = function (options) {
|
|||
$('<h4>')
|
||||
.text(I18n.t('javascripts.share.title')));
|
||||
|
||||
var $linkSection = $('<section>')
|
||||
.attr('class', 'share-link')
|
||||
var $linkSection = $('<div>')
|
||||
.attr('class', 'section share-link')
|
||||
.appendTo($ui);
|
||||
|
||||
$('<h4>')
|
||||
|
|
|
@ -587,7 +587,7 @@ a.donate {
|
|||
border-left: 1px solid #CCC;
|
||||
overflow: auto;
|
||||
|
||||
section {
|
||||
.section {
|
||||
border-bottom: 1px solid #DDD;
|
||||
padding: 15px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue