Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorKevin Attfield <k.attfield@gmail.com>2012-10-01 08:41:37 +0400
committerKevin Attfield <k.attfield@gmail.com>2012-10-01 08:41:37 +0400
commit82715ae96dad4e97d208acf7f1654b25449e2bef (patch)
treefad152bfc84770f0a5a64eefd91d88fc2b4b1cfb /js
parentf8374a754d2ffe153ab14cb1315365c1303c6bbe (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.js2
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