Commit 426e8e12 authored by Chris Rebert's avatar Chris Rebert

Fix error in condition in Tab plugin

Refs #15186
parent c8be2a06
...@@ -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