We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffc8d50 commit 45610a0Copy full SHA for 45610a0
js/src/tab.js
@@ -162,6 +162,7 @@ class Tab {
162
const transitionDuration = Util.getTransitionDurationFromElement(active)
163
164
$(active)
165
+ .removeClass(ClassName.SHOW)
166
.one(Util.TRANSITION_END, complete)
167
.emulateTransitionEnd(transitionDuration)
168
} else {
@@ -171,7 +172,7 @@ class Tab {
171
172
173
_transitionComplete(element, active, callback) {
174
if (active) {
- $(active).removeClass(`${ClassName.SHOW} ${ClassName.ACTIVE}`)
175
+ $(active).removeClass(ClassName.ACTIVE)
176
177
const dropdownChild = $(active.parentNode).find(
178
Selector.DROPDOWN_ACTIVE_CHILD
0 commit comments