]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.key.js
Add a close icon to the feature warning panel
[rails.git] / app / assets / javascripts / leaflet.key.js
index ea236a569e316b99ec87f0e86f6189a75fccfbaf..58bfbf6d2aa07644d98585240f1b9d948883c946 100644 (file)
@@ -56,6 +56,7 @@ L.OSM.key = function (options) {
       if (!button.hasClass('disabled')) {
         options.sidebar.togglePane($ui, button);
       }
+      $('.leaflet-control .control-button').tooltip('hide');
     }
 
     function updateButton() {