Use empty and append to insert the html

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
Johannes Marbach 2026-03-24 11:24:13 +01:00
parent 0cc8ee38d5
commit 49fec082f5

View file

@ -223,7 +223,7 @@ search backend.
// content manually. // content manually.
// //
// [1]: https://github.com/twbs/bootstrap/issues/37206#issuecomment-1259541205 // [1]: https://github.com/twbs/bootstrap/issues/37206#issuecomment-1259541205
$(popover.tip.querySelector('.popover-body')).html($html[0]); $(popover.tip.querySelector('.popover-body')).empty().append($html);
popover.update(); popover.update();
}; };
}); });