diff options
| author | Johann-S <[email protected]> | 2020-06-27 00:28:32 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2020-06-27 15:58:00 +0200 |
| commit | 686b88c505540a8ce0a260c18bd327865cad81c4 (patch) | |
| tree | 8763220a29a962bc992d06f60ef590a63221bb51 /js/src/collapse.js | |
| parent | 2c38800ea224327a063a8fd5c11df8d2ee2ca5a6 (diff) | |
| download | bootstrap-feat/data-target.tar.xz bootstrap-feat/data-target.zip | |
use only data target to query elements in our pluginfeat/data-target
Diffstat (limited to 'js/src/collapse.js')
| -rw-r--r-- | js/src/collapse.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js index 693e7ee2c..3b8c15212 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -72,7 +72,6 @@ class Collapse { this._element = element this._config = this._getConfig(config) this._triggerArray = SelectorEngine.find( - `${SELECTOR_DATA_TOGGLE}[href="#${element.id}"],` + `${SELECTOR_DATA_TOGGLE}[data-target="#${element.id}"]` ) |
