diff options
| author | Luis Abreu <[email protected]> | 2011-09-28 22:08:26 +0100 |
|---|---|---|
| committer | Luis Abreu <[email protected]> | 2011-09-28 22:08:26 +0100 |
| commit | 9a2440aafa8902d713ac78c3aa0823ffcd83d70a (patch) | |
| tree | 98c463c9b641ae6fc1d0dc1234710a5d20ac1ab5 | |
| parent | 68605bdd51760a929cc661607f06f479c53b0bee (diff) | |
| download | bootstrap-9a2440aafa8902d713ac78c3aa0823ffcd83d70a.tar.xz bootstrap-9a2440aafa8902d713ac78c3aa0823ffcd83d70a.zip | |
tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs
| -rw-r--r-- | js/bootstrap-tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tabs.js b/js/bootstrap-tabs.js index dece95be6..515468808 100644 --- a/js/bootstrap-tabs.js +++ b/js/bootstrap-tabs.js @@ -21,7 +21,7 @@ !function( $ ){ function activate ( element, container ) { - container.find('.active').removeClass('active') + container.find('> .active').removeClass('active') element.addClass('active') } |
