Yohan Boniface 2024-10-21 10:47:12 +02:00 committed by GitHub
commit 7b88193d62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}