diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index dd7bb20a..7595b710 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -934,7 +934,7 @@ L.U.Map.include({ L.DomUtil.create('i', 'umap-icon-16 umap-add', filter) const labelFilter = L.DomUtil.create('span', '', filter) labelFilter.textContent = labelFilter.title = L._('Facet search') - L.DomEvent.on(filter, 'click', this.openFilter, this) + L.DomEvent.on(filter, 'click', this.openFacet, this) actions.push(filter) } this.ui.openPanel({ data: { html: container }, actions: actions })