aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2016-01-11 20:42:35 +0100
committerJohann-S <[email protected]>2016-10-19 09:35:48 +0200
commit9bc7de93950444eee1e4cae8b5a029bcb4907640 (patch)
tree4f094cfc87f115064be72cad8b29d0ff6484c38c /js/src
parent16947ffa88ee18f0ca7cd44ac9493c15bf894fbb (diff)
downloadbootstrap-9bc7de93950444eee1e4cae8b5a029bcb4907640.tar.xz
bootstrap-9bc7de93950444eee1e4cae8b5a029bcb4907640.zip
Fix bug multiple accordions collapse
Diffstat (limited to 'js/src')
-rw-r--r--js/src/collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js
index 560ab2cbd..b784b82b6 100644
--- a/js/src/collapse.js
+++ b/js/src/collapse.js
@@ -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
}