Skip to content

nested tabs (using .tabs within .tab-content) - bootstrap-tabs.js #310

@coonce

Description

@coonce

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions