0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00

tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs

This commit is contained in:
Luis Abreu 2011-09-28 22:08:26 +01:00
parent 68605bdd51
commit 9a2440aafa

View File

@ -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')
} }