mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01: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
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…
x
Reference in New Issue
Block a user