mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Added a tooltip on the "Fit Data Bounds" button
This commit is contained in:
parent
dffeca18bd
commit
d0ea1de159
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function makeFitControl(fitContainer, kibanaMap) {
|
|||
},
|
||||
onAdd: function (leafletMap) {
|
||||
this._leafletMap = leafletMap;
|
||||
$(this._fitContainer).html('<a class="kuiIcon fa-crop" href="#" aria-label="Fit Data Bounds"></a>')
|
||||
$(this._fitContainer).html('<a class="kuiIcon fa-crop" href="#" title="Fit Data Bounds" aria-label="Fit Data Bounds"></a>')
|
||||
.on('click', e => {
|
||||
e.preventDefault();
|
||||
this._kibanaMap.fitToData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue