mirror of
https://github.com/grocy/grocy.git
synced 2025-08-29 09:16:31 +00:00
Make clear filter buttons more compact
This commit is contained in:
@@ -1186,3 +1186,11 @@ $('[data-toggle="tooltip"][data-html="true"]').on("shown.bs.tooltip", function()
|
||||
{
|
||||
RefreshLocaleNumberDisplay(".tooltip");
|
||||
})
|
||||
|
||||
$(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();
|
||||
console.log("x")
|
||||
});
|
||||
|
Reference in New Issue
Block a user