smooth-scroll

simple smooth scrolling in the browser
git clone https://git.ce9e.org/smooth-scroll.git

commit
8c2e8fb65473d85c0e3267d3542221b42cc230a4
parent
9d9cdfa9e2cd775e544a5a1a62e96e9f5cf36eca
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-11-18 17:11
increase default duration

Diffstat

M smooth-scroll.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/smooth-scroll.js b/smooth-scroll.js

@@ -26,7 +26,7 @@
   26    26 
   27    27   var smoothScrollTo = function(endY, container, duration) {
   28    28     container = container || window;
   29    -1     duration = duration || 250;
   -1    29     duration = duration || 400;
   30    30 
   31    31     var startY = container.scrollY;
   32    32