mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-12-11 20:33:31 +01:00
7722f6746a
Closes #73, Closes #63
8 lines
342 B
JavaScript
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)
|
|
})
|