Hopefully I am posting this in the correct area.

I would like to implement the Bootstrap Collapse Accordion into my website. I copied the code for the following Bootstrap site:


The tabs sort of work but the active tab does not close when you click another link. Here is a link to it on my demo page:


I know Joomla has a custom version of Bootstrap but thought I'd ask here to see if anyone had a similar issue or solution.