Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed unnecessary use of global variables. Removed deltaY which was n…

…ever read.
  • Loading branch information...
commit 9716467d0dd7a139947e9bf4e154256c41765f0d 1 parent 14c0b16
@fbrandel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scrollfix.js
View
2  scrollfix.js
@@ -9,7 +9,7 @@
var ScrollFix = function(elem) {
// Variables to track inputs
- var startY = startTopScroll = deltaY = undefined,
+ var startY, startTopScroll;
elem = elem || elem.querySelector(elem);
Please sign in to comment.
Something went wrong with that request. Please try again.