Created by: cpsievert
Closes #36947 (closed) (a regression introduced by https://github.com/twbs/bootstrap/pull/33079, cc @GeoSot)
As the codepen in #36947 (closed) demonstrates, when clicking on the 2nd tab in a dropdown, all the tabs within the dropdown are marked with an active class. This happens because, the current logic in _toggleDropdown()
toggles the active class on the first tab within the dropdown when it shouldn't be