diff options
| author | Matt Hernandez <[email protected]> | 2016-11-25 14:56:41 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-25 14:56:41 -0800 |
| commit | b1b1f30cbd0f4f620047dc158cf91e328eeecc6b (patch) | |
| tree | 2576dbf392eb9059270e209644142ec869df4466 /js/src | |
| parent | 3593ee85c1c8aed948bbe636194fcd5f0988878e (diff) | |
| download | bootstrap-b1b1f30cbd0f4f620047dc158cf91e328eeecc6b.tar.xz bootstrap-b1b1f30cbd0f4f620047dc158cf91e328eeecc6b.zip | |
[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
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/tab.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tab.js b/js/src/tab.js index 012d2f76f..9dc33e4da 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -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] |
