StarlioX/web/static/scripts/tooltip.js

3 lines
192 B
JavaScript
Raw Permalink Normal View History

2022-09-18 19:27:23 +03:00
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))