mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 06:20:15 +02:00
Merge pull request #18847 from Johann-S/fix18824
Fix bug multiple accordions collapse
This commit is contained in:
@@ -121,7 +121,7 @@ const Collapse = (($) => {
|
||||
let activesData
|
||||
|
||||
if (this._parent) {
|
||||
actives = $.makeArray($(Selector.ACTIVES))
|
||||
actives = $.makeArray($(this._parent).find(Selector.ACTIVES))
|
||||
if (!actives.length) {
|
||||
actives = null
|
||||
}
|
||||
|
Reference in New Issue
Block a user