2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

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