Skip to content

Commit

Permalink
fix: fix dispeared icons from panel titles (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface authored Oct 21, 2024
2 parents 2642688 + e0da316 commit 7b88193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umap/static/umap/js/umap.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7b88193

Please sign in to comment.