mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix for #5362
Fix for issue [5362](https://github.com/twitter/bootstrap/issues/5362): tab events fired on wrong dropdown anchor.
This commit is contained in:
parent
f8374a754d
commit
82715ae96d
1 changed files with 1 additions and 1 deletions
2
js/bootstrap-tab.js
vendored
2
js/bootstrap-tab.js
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue