pages/assets/scripts/tooltip-enable.js

5 lines
219 B
JavaScript
Raw Normal View History

2022-02-15 03:03:46 +00:00
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})