function refreshTooltips() { let tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) let tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl) }); Array.from(document.querySelectorAll('[data-bs-toggle="tooltip"]')).forEach((item) => { if (!item.classList.contains("tooltip-nohelp")) { item.style.cursor = "help"; } }) } refreshTooltips();