0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

Fix code style

This commit is contained in:
Johann-S 2017-03-08 11:15:58 +01:00
parent 099486f294
commit fa1504e6f6

View File

@ -78,7 +78,6 @@ const Collapse = (($) => {
`[data-toggle="collapse"][href="#${element.id}"],` + `[data-toggle="collapse"][href="#${element.id}"],` +
`[data-toggle="collapse"][data-target="#${element.id}"]` `[data-toggle="collapse"][data-target="#${element.id}"]`
)) ))
this._parent = this._config.parent ? this._getParent() : null this._parent = this._config.parent ? this._getParent() : null
if (!this._config.parent) { if (!this._config.parent) {
@ -89,7 +88,7 @@ const Collapse = (($) => {
if (this._parent) { if (this._parent) {
const childrenSelector = this._parent.hasAttribute(Selector.DATA_CHILDREN) ? this._parent.getAttribute(Selector.DATA_CHILDREN) : null const childrenSelector = this._parent.hasAttribute(Selector.DATA_CHILDREN) ? this._parent.getAttribute(Selector.DATA_CHILDREN) : null
if (childrenSelector !== null) { if (childrenSelector !== null) {
this._selectorActives = childrenSelector + ' > .show, ' + childrenSelector + ' > .collapsing' this._selectorActives = `${childrenSelector} > .show, ${childrenSelector} > .collapsing`
} }
} }