mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 12:52:39 +00:00
Optimized tooltip hide handling
This commit is contained in:
@@ -128,8 +128,6 @@ $(document).on('click', '.product-consume-button', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
$(".tooltip").tooltip("hide");
|
||||
|
||||
Grocy.FrontendHelpers.BeginUiBusy();
|
||||
|
||||
var productId = $(e.currentTarget).attr('data-product-id');
|
||||
@@ -181,8 +179,6 @@ $(document).on('click', '.product-open-button', function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
$(".tooltip").tooltip("hide");
|
||||
|
||||
Grocy.FrontendHelpers.BeginUiBusy();
|
||||
|
||||
var productId = $(e.currentTarget).attr('data-product-id');
|
||||
@@ -329,7 +325,6 @@ function RefreshProductRow(productId)
|
||||
{
|
||||
animateCSS("#product-" + productId + "-row", "fadeOut", function()
|
||||
{
|
||||
$("#product-" + productId + "-row").tooltip("hide");
|
||||
$("#product-" + productId + "-row").addClass("d-none");
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user