]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.share.js
Hide control tooltips on #map-ui expansion, closes #55
[rails.git] / app / assets / javascripts / leaflet.share.js
index 6a4491c2a7e57fcbf6158603bf8779dfd8990f70..d4c82953202cb9a4e828a042a10f0efc064bbdee 100644 (file)
@@ -230,6 +230,7 @@ L.OSM.share = function (options) {
 
       update();
       options.sidebar.togglePane($ui, button);
+      $('.leaflet-control .control-button').tooltip('hide');
     }
 
     function toggleMarker() {