0
0
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:
Jacob Thornton 2011-09-29 23:42:58 -07:00
commit fda10a609c

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