pages/assets/scripts/tooltip-enable.js

7 lines
226 B
JavaScript
Raw Normal View History

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