diff options
Diffstat (limited to 'app/tooltip.js')
-rw-r--r-- | app/tooltip.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/tooltip.js b/app/tooltip.js deleted file mode 100644 index fd7e321..0000000 --- a/app/tooltip.js +++ /dev/null @@ -1,14 +0,0 @@ -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();
\ No newline at end of file |