Make sure to hide all tooltips before removing an element (fixes #260)

This commit is contained in:
Bernd Bestel
2019-06-08 16:39:35 +02:00
parent 9f2481a6a8
commit 9e7d62b62d
3 changed files with 6 additions and 0 deletions

View File

@@ -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();
});
},