First full release

This commit is contained in:
Luka Romih
2023-03-10 12:50:23 +01:00
parent 257f3c354f
commit 9867875ef2
285 changed files with 10980 additions and 4692 deletions
+14 -11
View File
@@ -70,20 +70,23 @@ function generateTooltipWithStyles(
) {
let nonEmptyContent
if (!content) {
nonEmptyContent = el => {
el.getAttribute('data-tooltip-content')
}
return generateTooltipBase(list, function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl, {
html: true,
title: tooltipTriggerEl.getAttribute('data-tooltip-content') || '',
customClass: styles
})
})
} else {
nonEmptyContent = content
}
return generateTooltipBase(list, function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl, {
html: true,
title: nonEmptyContent,
customClass: styles
return generateTooltipBase(list, function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl, {
html: true,
title: nonEmptyContent || '',
customClass: styles
})
})
})
}
}
function generateTooltipBase(list, fn) {