X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ded28617c73090028c416e46ade69f7584536548..ce53e510adb1baed6cc8f27e48d810a586853e55:/app/assets/javascripts/leaflet.key.js diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index 5aae3d1c2..c5124e39d 100644 --- a/app/assets/javascripts/leaflet.key.js +++ b/app/assets/javascripts/leaflet.key.js @@ -14,21 +14,23 @@ L.OSM.key = function (options) { .appendTo($container); var $ui = $('
') - .attr('class', 'layers-ui'); + .attr('class', 'key-ui'); - $('
') + $('
') + .attr('class', 'sidebar_heading') .appendTo($ui) .append( - $('') - .html('»') - .attr('class', 'close-button') - .attr('href', '#') - .bind('click', toggle)) + $('') + .text(I18n.t('javascripts.close')) + .attr('class', 'sidebar_close') + .attr('href', '#') + .bind('click', toggle)) .append( - $('

') - .text(I18n.t('javascripts.key.title'))); + $('

') + .text(I18n.t('javascripts.key.title'))); - var $section = $('
') + var $section = $('
') + .attr('class', 'section') .appendTo($ui); options.sidebar.addPane($ui);