diff --git a/static/index.js b/static/index.js index b838a7d..99a7ded 100644 --- a/static/index.js +++ b/static/index.js @@ -5,7 +5,11 @@ document.addEventListener('DOMContentLoaded', function() { function initTooltips(elementRoot) { const tooltipTriggerList = elementRoot.querySelectorAll('[data-bs-action="tooltip"]'); tooltipTriggerList.forEach((elem) => { - new bootstrap.Tooltip(elem); + new bootstrap.Tooltip(elem, { + trigger: 'hover', + delay: {show: 1000, hide: 0}, + container: 'body' + }); }); }