Add missing icon titles

fix #554
This commit is contained in:
Yohan Boniface 2018-06-16 23:03:40 +02:00
parent fc9ffdf228
commit fc2549fce6

View file

@ -462,6 +462,7 @@ L.U.DataLayersControl = L.Control.extend({
var toggle = L.DomUtil.create('a', 'umap-browse-toggle', container);
toggle.href = '#';
toggle.title = L._('See data layers')
L.DomEvent
.on(toggle, 'click', L.DomEvent.stop);
@ -892,6 +893,7 @@ L.U.SearchControl = L.Control.extend({
L.DomEvent.disableClickPropagation(container);
var link = L.DomUtil.create('a', '', container);
link.href = '#';
link.title = L._('Search a place name')
L.DomEvent.on(link, 'click', function (e) {
L.DomEvent.stop(e);
self.openPanel(map);