Skip to content

Commit 60adeb4

Browse files
committed
comment out unused prevScrollY
1 parent e319006 commit 60adeb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/ParallaxController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function ParallaxController() {
4343
*/
4444
function _handleScroll() {
4545
// reference to prev scroll y
46-
const prevScrollY = scrollY;
46+
// const prevScrollY = scrollY;
4747

4848
// Save current scroll
4949
scrollY = window.pageYOffset; // Supports IE 9 and up.

0 commit comments

Comments
 (0)