privacyguides.org/assets/js/main.js
Jonah Aragon 7722f6746a
Fix navbar collapse toggle
Closes #73, Closes #63
2021-09-15 10:21:57 -05:00

8 lines
342 B
JavaScript

document.querySelectorAll(".onclick-select").forEach(element => {
element.addEventListener("click", element.select);
});
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl)
})