privacyguides.org/assets/js/main.js

12 lines
555 B
JavaScript
Raw Normal View History

2020-05-12 01:30:23 -04:00
document.querySelectorAll(".onclick-select").forEach(element => {
element.addEventListener("click", element.select);
});
2021-05-03 22:13:50 -04: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-16 00:13:01 -05:00
})