Fix error in condition in Tab plugin

Refs #15186
This commit is contained in:
Chris Rebert 2015-01-21 14:13:26 -08:00
parent c8be2a063a
commit 426e8e12cd
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
element.removeClass('fade')
}
if (element.parent('.dropdown-menu')) {
if (element.parent('.dropdown-menu').length) {
element
.closest('li.dropdown')
.addClass('active')