]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.key.js
touch up secondary pages and leaflet sidebar content
[rails.git] / app / assets / javascripts / leaflet.key.js
index cc86736ef848bec653e3c5e30ff901480b7b58b0..ea236a569e316b99ec87f0e86f6189a75fccfbaf 100644 (file)
@@ -19,10 +19,9 @@ L.OSM.key = function (options) {
       .attr('class', 'sidebar_heading')
       .appendTo($ui)
       .append(
-        $('<a>')
+        $('<span>')
           .text(I18n.t('javascripts.close'))
-          .attr('class', 'sidebar_close')
-          .attr('href', '#')
+          .attr('class', 'icon close')
           .bind('click', toggle))
       .append(
         $('<h4>')