diff --git a/addon/index.js b/addon/index.js index 2d07d846..4665a1e0 100644 --- a/addon/index.js +++ b/addon/index.js @@ -41,7 +41,7 @@ function tryScrollRecursively(fn, scrollHash, element) { fn.call(null, scrollHash.x, scrollHash.y); } else { ATTEMPTS++; - tryScrollRecursively(fn, scrollHash) + tryScrollRecursively(fn, scrollHash, element) } }) }