mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 18:54:35 +00:00
Make sure to hide all tooltips before removing an element (fixes #260)
This commit is contained in:
@@ -78,6 +78,7 @@ $(document).on('click', '.do-task-button', function(e)
|
||||
{
|
||||
$('#task-' + taskId + '-row').fadeOut(500, function ()
|
||||
{
|
||||
$(this).tooltip("hide");
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
@@ -129,6 +130,7 @@ $(document).on('click', '.delete-task-button', function (e)
|
||||
{
|
||||
$('#task-' + objectId + '-row').fadeOut(500, function ()
|
||||
{
|
||||
$(this).tooltip("hide");
|
||||
$(this).remove();
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user