We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
scrollDown
1 parent e4bb450 commit b6f60faCopy full SHA for b6f60fa
src/libs/ParallaxScroller.js
@@ -24,7 +24,7 @@ const ParallaxScroller = (function() {
24
let ticking = false;
25
26
// Scroll direction
27
- let scrollDown = null;
+ // let scrollDown = null;
28
29
// Passive support
30
const supportsPassive = testForPassiveScroll();
@@ -51,7 +51,7 @@ const ParallaxScroller = (function() {
51
scrollY = window.pageYOffset; // Supports IE 9 and up.
52
53
// direction
54
- scrollDown = scrollY > prevScrollY;
+ // scrollDown = scrollY > prevScrollY;
55
56
// Only called if the last animation request has been
57
// completed and there are parallax elements to update
0 commit comments