Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann-S committed Mar 8, 2017
1 parent 099486f commit fa1504e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/src/collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const Collapse = (($) => {
`[data-toggle="collapse"][href="#${element.id}"],` +
`[data-toggle="collapse"][data-target="#${element.id}"]`
))

this._parent = this._config.parent ? this._getParent() : null

if (!this._config.parent) {
Expand All @@ -89,7 +88,7 @@ const Collapse = (($) => {
if (this._parent) {
const childrenSelector = this._parent.hasAttribute(Selector.DATA_CHILDREN) ? this._parent.getAttribute(Selector.DATA_CHILDREN) : null
if (childrenSelector !== null) {
this._selectorActives = childrenSelector + ' > .show, ' + childrenSelector + ' > .collapsing'
this._selectorActives = `${childrenSelector} > .show, ${childrenSelector} > .collapsing`
}
}

Expand Down

0 comments on commit fa1504e

Please sign in to comment.