From fc2549fce6516742ee722e72e39157b0c3dc3a52 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 16 Jun 2018 23:03:40 +0200 Subject: [PATCH] Add missing icon titles fix #554 --- umap/static/umap/js/umap.controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 995af8cb..3d61102d 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -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);