diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-05-08 10:21:04 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-05-12 19:21:36 +0300 |
commit | 52fdab8d70b3e3c080dd5a328ce1e92213f31c01 (patch) | |
tree | 8f39ca15ec7c9377b6d97d0e1ede7d659d6a5827 /js/src/collapse.js | |
parent | b3601aae5b2b5714652b7fd10a5c8f89a69f4d56 (diff) |
Join/break a few lines, no functional changes
Diffstat (limited to 'js/src/collapse.js')
-rw-r--r-- | js/src/collapse.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js index 39fd62bccf..01880c104e 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -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), |