diff --git a/js/src/dropdown.js b/js/src/dropdown.js index dac7368c270e..c314cbcddfbc 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -259,8 +259,8 @@ class Dropdown extends BaseComponent { this._popper.destroy() } - this._menu.classList.toggle(CLASS_NAME_SHOW) - this._element.classList.toggle(CLASS_NAME_SHOW) + this._menu.classList.remove(CLASS_NAME_SHOW) + this._element.classList.remove(CLASS_NAME_SHOW) this._element.setAttribute('aria-expanded', 'false') Manipulator.removeDataAttribute(this._menu, 'popper') EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)