]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.share.js
Use html5shiv for IE8 compatibility
[rails.git] / app / assets / javascripts / leaflet.share.js
index 01fc0c80a42ebfc310664302b13af991ae980ad5..6a4491c2a7e57fcbf6158603bf8779dfd8990f70 100644 (file)
@@ -25,10 +25,9 @@ L.OSM.share = 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>')