mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #15630 from twbs/tabs-cond-fix
Fix error in condition in Tab plugin
This commit is contained in:
commit
af8fa54fcd
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
element.removeClass('fade')
|
||||
}
|
||||
|
||||
if (element.parent('.dropdown-menu')) {
|
||||
if (element.parent('.dropdown-menu').length) {
|
||||
element
|
||||
.closest('li.dropdown')
|
||||
.addClass('active')
|
||||
|
|
Loading…
Reference in a new issue