]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.share.js
Move base layer UI above overlay layer UI
[rails.git] / app / assets / javascripts / leaflet.share.js
index 773145bedfcb7257b7f14aefd6b14c08c90c4ce5..664aebaa5fb19ad47aa08e2bbc7f11f864246faf 100644 (file)
@@ -18,6 +18,12 @@ L.OSM.share = function (options) {
 
     $('<section>')
       .appendTo($ui)
+      .append(
+          $('<a>')
+            .html('&raquo;')
+            .attr('class', 'close-button')
+            .attr('href', '#')
+            .bind('click', toggle))
       .append(
       $('<h2>')
         .text(I18n.t('javascripts.share.title')));