mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs
This commit is contained in:
parent
68605bdd51
commit
9a2440aafa
2
js/bootstrap-tabs.js
vendored
2
js/bootstrap-tabs.js
vendored
@ -21,7 +21,7 @@
|
|||||||
!function( $ ){
|
!function( $ ){
|
||||||
|
|
||||||
function activate ( element, container ) {
|
function activate ( element, container ) {
|
||||||
container.find('.active').removeClass('active')
|
container.find('> .active').removeClass('active')
|
||||||
element.addClass('active')
|
element.addClass('active')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user