diff options
| author | Rohit Sharma <[email protected]> | 2021-01-07 13:04:08 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-07 09:34:08 +0200 |
| commit | 3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8 (patch) | |
| tree | ccbdbba3bdc7348a65c1956afd62547a9afc00cb /js/src | |
| parent | e635a495362f440343aa9dbe346e1033337d035a (diff) | |
| download | bootstrap-3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8.tar.xz bootstrap-3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8.zip | |
Scrollspy - Remove unnecessary event argument (#32603)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js index a8770ef08..baea49443 100644 --- a/js/src/scrollspy.js +++ b/js/src/scrollspy.js @@ -76,7 +76,7 @@ class ScrollSpy extends BaseComponent { this._activeTarget = null this._scrollHeight = 0 - EventHandler.on(this._scrollElement, EVENT_SCROLL, event => this._process(event)) + EventHandler.on(this._scrollElement, EVENT_SCROLL, () => this._process()) this.refresh() this._process() |
