mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02:00
tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs
This commit is contained in:
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')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user