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…
Add table
Add a link
Reference in a new issue