2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Join/break a few lines, no functional changes

This commit is contained in:
XhmikosR
2020-05-08 10:21:04 +03:00
parent b3601aae5b
commit 52fdab8d70
6 changed files with 23 additions and 36 deletions
+2 -3
View File
@@ -294,10 +294,9 @@ class Collapse {
parent = document.querySelector(this._config.parent)
}
const selector =
`[data-toggle="collapse"][data-parent="${this._config.parent}"]`
const selector = `[data-toggle="collapse"][data-parent="${this._config.parent}"]`
const children = [].slice.call(parent.querySelectorAll(selector))
$(children).each((i, element) => {
this._addAriaAndCollapsedClass(
Collapse._getTargetFromElement(element),