mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-10-01 01:35:57 -04:00
12 lines
555 B
JavaScript
12 lines
555 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)
|
|
})
|
|
var dropdownElementList = [].slice.call(document.querySelectorAll('.dropdown-toggle'))
|
|
var dropdownList = dropdownElementList.map(function (dropdownToggleEl) {
|
|
return new bootstrap.Dropdown(dropdownToggleEl)
|
|
})
|