Skip to content

Commit

Permalink
Set maximum smooth scroll duration
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Mar 13, 2019
1 parent d75d94d commit edf06db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ $(document).ready(function() {
var scroll = new SmoothScroll('a[href*="#"]', {
offset: 20,
speed: 400,
speedAsDuration: true
speedAsDuration: true,
durationMax: 500
});

// Gumshoe scroll spy init
Expand Down
2 changes: 1 addition & 1 deletion assets/js/main.min.js

Large diffs are not rendered by default.

0 comments on commit edf06db

Please sign in to comment.