2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

[Fix #17371][V4] Deactivating dropdown links in nav tab (#17642)

* Fix bug with dropdown tab links not deactivating when other tab or dropdown link is clicked

* Revise bug fix for more stability
This commit is contained in:
Matt Hernandez
2016-11-25 14:56:41 -08:00
committed by Mark Otto
parent 3593ee85c1
commit b1b1f30cbd
2 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ const Tab = (($) => {
if (active) {
$(active).removeClass(ClassName.ACTIVE)
let dropdownChild = $(active).find(
let dropdownChild = $(active.parentNode).find(
Selector.DROPDOWN_ACTIVE_CHILD
)[0]