Skip to content

Commit

Permalink
fix ajax tooltip lib_foot.js.php (#32044)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Destailleur <[email protected]>
  • Loading branch information
frederic34 and eldy authored Nov 22, 2024
1 parent 682544a commit e35b534
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/core/js/lib_foot.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@
success: function(response){
// Setting content option
console.log("ajax success");
elemfortooltip.tooltip("option","content",response);
elemfortooltip.tooltip("open");
if (elemfortooltip.is(":hover")) {
elemfortooltip.tooltip("option","content",response);
elemfortooltip.tooltip("open");
}
}
});
}, opendelay));
Expand Down

0 comments on commit e35b534

Please sign in to comment.