Skip to content

Commit 6d27b1e

Browse files
committed
remove unused param to popstateHandler (Closes cferdinandi#517)
1 parent cf46975 commit 6d27b1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.idea/workspace.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/smooth-scroll/smooth-scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@
545545
/**
546546
* Animate scroll on popstate events
547547
*/
548-
var popstateHandler = function (event) {
548+
var popstateHandler = function () {
549549

550550
// Stop if history.state doesn't exist (ex. if clicking on a broken anchor link).
551551
// fixes `Cannot read property 'smoothScroll' of null` error getting thrown.

0 commit comments

Comments
 (0)