Optimized tooltip hide handling

This commit is contained in:
Bernd Bestel
2025-01-17 17:22:37 +01:00
parent ded742a7c1
commit 6605eeafd0
12 changed files with 7 additions and 49 deletions

View File

@@ -876,13 +876,9 @@ $('[data-toggle="tooltip"][data-html="true"]').on("shown.bs.tooltip", function()
RefreshLocaleNumberDisplay(".tooltip");
})
$(document).on("click", "#clear-filter-button", function(e)
{
$(".tooltip").tooltip("hide");
});
$(document).on("click", '.btn, a, button', function(e)
{
// Remove focus after click
// Remove focus and hide any tooltips after click
document.activeElement.blur();
$(".tooltip").tooltip("hide");
});