Enable: bootstrap5 tooltips
This commit is contained in:
parent
5dabf7031b
commit
e41992917a
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ document.querySelectorAll('[data-bs-toggle="popover"]')
|
|||
new bootstrap.Popover(popover)
|
||||
})
|
||||
|
||||
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
|
||||
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
|
||||
|
||||
window.addEventListener('load', function() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue