Bootstrap tooltips with PJAX update loose style

Hi All,
While using a pjax update I am facing a discrepancy with the Bootstrap tooltip. As the tooltip does not hide himself I added some js code as suggested on Bootstrap site :

  • Tooltips must be hidden before their corresponding elements have been removed from the DOM.
    Bootsrap 5 Tooltip
$(document).ready(function() {
$('.deletecartitem').click(function() {
    console.log('cartitem clicked!');
    console.log('tooltip hidden');

Now the tooltip do not display anymore after deleting the relevant cart item but all other tooltips on the page loose their Bootstrap styling and back to standard Title style.
Any idea to solve this would be welcome !