mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12: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 activate ( element, container ) {
|
||||
container.find('.active').removeClass('active')
|
||||
container.find('> .active').removeClass('active')
|
||||
element.addClass('active')
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user