X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ded28617c73090028c416e46ade69f7584536548..aff23d4b4bc9e9fecd5c1caa7e4d38087e002396:/app/assets/javascripts/leaflet.key.js diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index 5aae3d1c2..d12187bc2 100644 --- a/app/assets/javascripts/leaflet.key.js +++ b/app/assets/javascripts/leaflet.key.js @@ -14,19 +14,20 @@ 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 = $('
') .appendTo($ui);