1
0
Fork 0
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:
Chris Rebert 2015-01-28 10:59:51 -08:00
commit af8fa54fcd

View file

@ -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')