mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
Scrollspy - Remove unnecessary event argument (#32603)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
e635a49536
commit
3c934ddcef
@ -76,7 +76,7 @@ class ScrollSpy extends BaseComponent {
|
|||||||
this._activeTarget = null
|
this._activeTarget = null
|
||||||
this._scrollHeight = 0
|
this._scrollHeight = 0
|
||||||
|
|
||||||
EventHandler.on(this._scrollElement, EVENT_SCROLL, event => this._process(event))
|
EventHandler.on(this._scrollElement, EVENT_SCROLL, () => this._process())
|
||||||
|
|
||||||
this.refresh()
|
this.refresh()
|
||||||
this._process()
|
this._process()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user