diff options
| author | Jacob Thornton <[email protected]> | 2011-09-19 13:07:28 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-09-19 13:07:28 -0700 |
| commit | 75cbf0d25163bcc2f2c4fcc9395b39d3f005a8b8 (patch) | |
| tree | 894c49945e938210da6fa3feaa0d679a02591084 | |
| parent | fc6effae51769c5bd7dfe0d1720606dd42c5f6e9 (diff) | |
| parent | 9b61f71835f5214015269517ca9825de9064432a (diff) | |
| download | bootstrap-75cbf0d25163bcc2f2c4fcc9395b39d3f005a8b8.tar.xz bootstrap-75cbf0d25163bcc2f2c4fcc9395b39d3f005a8b8.zip | |
Merge pull request #259 from jacobfike/master
fixes #258, clicking a tab remove .active class from all elements on the page
| -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 1426d30ed..c98403a2d 100644 --- a/js/bootstrap-tabs.js +++ b/js/bootstrap-tabs.js @@ -28,7 +28,7 @@ function tab( e ) { var $this = $(this) , href = $this.attr('href') - , $ul = $(e.liveFired) + , $ul = $this.closest('ul') , $controlled if (/^#\w+/.test(href)) { |
