aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRohit Sharma <[email protected]>2021-01-07 13:04:08 +0530
committerGitHub <[email protected]>2021-01-07 09:34:08 +0200
commit3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8 (patch)
treeccbdbba3bdc7348a65c1956afd62547a9afc00cb /js
parente635a495362f440343aa9dbe346e1033337d035a (diff)
downloadbootstrap-3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8.tar.xz
bootstrap-3c934ddcef55ee2def7abaa9b2cbcf1c2ce377e8.zip
Scrollspy - Remove unnecessary event argument (#32603)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js')
-rw-r--r--js/src/scrollspy.js2
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()