Skip to content

Commit

Permalink
scrollTo to scrollTop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsonsns committed Jan 16, 2018
1 parent 4bb3f24 commit da3ce6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enjoyhint.js
Expand Up @@ -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 () {

Expand Down

0 comments on commit da3ce6f

Please sign in to comment.