diff options
author | Kevin Attfield <k.attfield@gmail.com> | 2012-10-01 08:41:37 +0400 |
---|---|---|
committer | Kevin Attfield <k.attfield@gmail.com> | 2012-10-01 08:41:37 +0400 |
commit | 82715ae96dad4e97d208acf7f1654b25449e2bef (patch) | |
tree | fad152bfc84770f0a5a64eefd91d88fc2b4b1cfb /js | |
parent | f8374a754d2ffe153ab14cb1315365c1303c6bbe (diff) |
Fix for #5362
Fix for issue [5362](https://github.com/twitter/bootstrap/issues/5362):
tab events fired on wrong dropdown anchor.
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-tab.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tab.js b/js/bootstrap-tab.js index 4fb3c38399..b4e142864e 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 |