Commit af8fa54f authored by Chris Rebert's avatar Chris Rebert

Merge pull request #15630 from twbs/tabs-cond-fix

Fix error in condition in Tab plugin
parents cb939e2e 426e8e12
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
element.removeClass('fade') element.removeClass('fade')
} }
if (element.parent('.dropdown-menu')) { if (element.parent('.dropdown-menu').length) {
element element
.closest('li.dropdown') .closest('li.dropdown')
.addClass('active') .addClass('active')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment