diff --git a/scrollfix.js b/scrollfix.js index c74eb9c..19e6d0f 100644 --- a/scrollfix.js +++ b/scrollfix.js @@ -9,7 +9,7 @@ var ScrollFix = function(elem) { // Variables to track inputs - var startY = startTopScroll = deltaY = undefined, + var startY, startTopScroll; elem = elem || document.querySelector(elem);