mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
remove duplicated Selector.find
This commit is contained in:
parent
7a71703fd3
commit
4c1f7bb051
@ -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…
x
Reference in New Issue
Block a user