12 lines
555 B
JavaScript
Raw Normal View History

2020-05-12 00:30:23 -05:00
document.querySelectorAll(".onclick-select").forEach(element => {
element.addEventListener("click", element.select);
});
2021-05-03 21:13:50 -05:00
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})
var dropdownElementList = [].slice.call(document.querySelectorAll('.dropdown-toggle'))
var dropdownList = dropdownElementList.map(function (dropdownToggleEl) {
return new bootstrap.Dropdown(dropdownToggleEl)
2021-01-15 23:13:01 -06:00
})