mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-05 11:04:43 +00:00
remove duplicated Selector.find
This commit is contained in:
parent
7a71703fd3
commit
4c1f7bb051
1 changed files with 1 additions and 4 deletions
|
|
@ -70,10 +70,7 @@ class Collapse extends BaseComponent {
|
|||
|
||||
this._isTransitioning = false
|
||||
this._config = this._getConfig(config)
|
||||
this._triggerArray = SelectorEngine.find(
|
||||
`${SELECTOR_DATA_TOGGLE}[href="#${this._element.id}"],` +
|
||||
`${SELECTOR_DATA_TOGGLE}[data-bs-target="#${this._element.id}"]`
|
||||
)
|
||||
this._triggerArray = []
|
||||
|
||||
const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue