mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Merge pull request #329 from lmjabreu/master
make tabs plugin play well with nested tabs
This commit is contained in:
commit
fda10a609c
2
js/bootstrap-tabs.js
vendored
2
js/bootstrap-tabs.js
vendored
@ -21,7 +21,7 @@
|
||||
!function( $ ){
|
||||
|
||||
function activate ( element, container ) {
|
||||
container.find('.active').removeClass('active')
|
||||
container.find('> .active').removeClass('active')
|
||||
element.addClass('active')
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user