mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Optimized button click tooltip hide handling (fixes #2206)
This commit is contained in:
@@ -1233,9 +1233,7 @@ $('[data-toggle="tooltip"][data-html="true"]').on("shown.bs.tooltip", function()
|
||||
|
||||
$(document).on("click", "#clear-filter-button", function(e)
|
||||
{
|
||||
// Remove the focus from the current button
|
||||
// to prevent that the tooltip stays until clicked anywhere else
|
||||
document.activeElement.blur();
|
||||
$(".tooltip").tooltip("hide");
|
||||
});
|
||||
|
||||
$(document).on("shown.bs.modal", function(e)
|
||||
|
Reference in New Issue
Block a user