Return if template content does not exist (Ex: popover without title)
set content only once over an existing tip element
Replicate
Go to https://twbs-bootstrap.netlify.app/docs/5.0/components/popovers/#four-directions open js console. Click popover button three times (open->close->open)
As the code tries to every time to set content, it fails to remove an already removed element