diff options
| author | Ashley Dawson <[email protected]> | 2014-03-26 22:21:54 +0000 |
|---|---|---|
| committer | Ashley Dawson <[email protected]> | 2014-03-26 22:21:54 +0000 |
| commit | 138af82e298fd57d2f992a39934067fc5bd99a91 (patch) | |
| tree | 306a0d74ff5a64c7c2f099bbaa27dc730c7f58bb | |
| parent | c692c29c7d3dfd3209e3da14912dd5de634b1eac (diff) | |
| download | bootstrap-138af82e298fd57d2f992a39934067fc5bd99a91.tar.xz bootstrap-138af82e298fd57d2f992a39934067fc5bd99a91.zip | |
Fixed nested tab elements li activation
Added closest li instead of direct parent so that you can nest multiple elements within tabs, such as button groups
| -rw-r--r-- | js/tab.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ var $target = $(selector) - this.activate($this.parent('li'), $ul) + this.activate($this.closest('li'), $ul) this.activate($target, $target.parent(), function () { $this.trigger({ type: 'shown.bs.tab', |
