mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix: fix dispeared icons from panel titles (#2222)
Before:  After: 
This commit is contained in:
commit
7b88193d62
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ L.DomUtil.createButtonIcon = (parent, className, title, callback, size = 16) =>
|
|||
|
||||
L.DomUtil.createTitle = (parent, text, iconClassName, className = '', tag = 'h3') => {
|
||||
const title = L.DomUtil.create(tag, '', parent)
|
||||
if (className) L.DomUtil.createIcon(title, iconClassName)
|
||||
if (iconClassName) L.DomUtil.createIcon(title, iconClassName)
|
||||
L.DomUtil.add('span', className, title, text)
|
||||
return title
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue