1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 22:39:11 +02:00

Fix bug multiple accordions collapse

This commit is contained in:
Johann-S
2016-01-11 20:42:35 +01:00
parent 16947ffa88
commit 9bc7de9395
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
}