1
0
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:
Mark Otto
2016-10-24 20:50:04 -07:00
committed by GitHub
2 changed files with 24 additions and 1 deletions

View File

@@ -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
}