Enable: bootstrap5 tooltips

This commit is contained in:
Aroy-Art 2024-08-25 10:31:31 +02:00
parent 5dabf7031b
commit e41992917a
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -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() {