Merge pull request #1705 from umap-project/1700-see-all
fix: See all button closing panel
This commit is contained in:
commit
851b1daf33
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ U.Popup.Panel = U.Popup.extend({
|
|||
L.DomUtil.create('i', 'umap-icon-16 umap-list', button)
|
||||
const label = L.DomUtil.create('span', '', button)
|
||||
label.textContent = label.title = L._('See all')
|
||||
// Fixme: remove me when this is merged and released
|
||||
// https://github.com/Leaflet/Leaflet/pull/9052
|
||||
L.DomEvent.disableClickPropagation(button)
|
||||
L.DomEvent.on(button, 'click', this.feature.map.openBrowser, this.feature.map)
|
||||
return button
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue