diff --git a/enjoyhint.js b/enjoyhint.js index 2fb070a..e9d0893 100644 --- a/enjoyhint.js +++ b/enjoyhint.js @@ -133,7 +133,7 @@ var EnjoyHint = function (_options) { that.clear(); }, 250); - $(document.body).scrollTo(step_data.selector, step_data.scrollAnimationSpeed || 250, {offset: -100}); + $(document.body).scrollTop(step_data.selector, step_data.scrollAnimationSpeed || 250, {offset: -100}); setTimeout(function () {