X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/89a132d31c8ca3b446c716860e55bf31bc811bd0..2dd89f2d0806b249287d19e63e4392e6d21a847b:/app/assets/javascripts/leaflet.key.js diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index 3f71932fb..58bfbf6d2 100644 --- a/app/assets/javascripts/leaflet.key.js +++ b/app/assets/javascripts/leaflet.key.js @@ -6,7 +6,7 @@ L.OSM.key = function (options) { .attr('class', 'control-key'); var button = $('') - .attr('class', 'control-button mobile-hide') + .attr('class', 'control-button') .attr('href', '#') .html('') .on('click', toggle) @@ -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() {