Skip to content

Commit

Permalink
Removed unnecessary decleration
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnaydd committed Mar 24, 2017
1 parent 086362b commit 14f2c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moveTo.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const MoveTo = (() => {
to -= options.tolerance;
const change = to - from;
let startTime = null;
let lastPageYOffset = 0;
let lastPageYOffset;

// rAF loop
const loop = (currentTime) => {
Expand Down

0 comments on commit 14f2c1f

Please sign in to comment.