chore: add missing umap-icon-16 class in browser toggle button

This commit is contained in:
Yohan Boniface 2024-03-12 17:08:23 +01:00
parent a018b8863f
commit 2147e5a612

View file

@ -101,7 +101,7 @@ export default class Browser {
const headline = parent.querySelector('h5')
const toggleList = () => parent.classList.toggle('show-list')
headline.innerHTML = ''
const toggle = DomUtil.create('i', 'datalayer-toggle-list', headline)
const toggle = DomUtil.create('i', 'umap-icon-16 datalayer-toggle-list', headline)
DomEvent.on(toggle, 'click', toggleList)
datalayer.renderToolbox(headline)
const name = DomUtil.create('span', 'datalayer-name', headline)