For a while I couldn’t make Bootstrap tooltips and popovers work. I had all the necessary js and css files, with the right js code. Been googling the issue and found this ticket: Tooltips custom selectors does not seem to work.
I’m not using custom selectors, but for some reason I just couldn’t make the default code work. So I followed the suggestions on the git thread. I changed [data-toggle=] with [data-tip=] and [data-pop=] and added a bit of .js:
$('[data-tip]').tooltip();
$('[data-pop]').popover();
Finally! That seemed to solve it!
Leave a Reply