When switching tabs on the outer container, the inner tabs get their 'active' class removed also.
I changed line 24 from:
container.find('.active').removeClass('active')
to
container.children('.active').removeClass('active')
Seems to work for me. Is there any reason to remove the 'active' class from all descendants?
When switching tabs on the outer container, the inner tabs get their 'active' class removed also.
I changed line 24 from:
container.find('.active').removeClass('active')
to
container.children('.active').removeClass('active')
Seems to work for me. Is there any reason to remove the 'active' class from all descendants?