aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tab.js
diff options
context:
space:
mode:
authorbilly gates <[email protected]>2012-10-17 22:30:40 -0700
committerbilly gates <[email protected]>2012-10-17 22:30:40 -0700
commit24b5e6cb142ad5ac530c0815ebf1cc102e2e381b (patch)
tree184c0016a6aa598bdefe8dcf39f90aba6f8aa8cd /js/bootstrap-tab.js
parenta2fc01444eda94963dce3ce845b9c76bfef363e5 (diff)
parent48a8dd2a23f11981d42785db4091c029b5b7e781 (diff)
downloadbootstrap-24b5e6cb142ad5ac530c0815ebf1cc102e2e381b.tar.xz
bootstrap-24b5e6cb142ad5ac530c0815ebf1cc102e2e381b.zip
Merge pull request #5366 from Sinetheta/2.1.2-wip
Fix for #5362
Diffstat (limited to 'js/bootstrap-tab.js')
-rw-r--r--js/bootstrap-tab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tab.js b/js/bootstrap-tab.js
index 4fb3c3839..b4e142864 100644
--- a/js/bootstrap-tab.js
+++ b/js/bootstrap-tab.js
@@ -49,7 +49,7 @@
if ( $this.parent('li').hasClass('active') ) return
- previous = $ul.find('.active a').last()[0]
+ previous = $ul.find('.active:last a')[0]
e = $.Event('show', {
relatedTarget: previous