Skip to content

Commit da3ce6f

Browse files
committed
scrollTo to scrollTop
1 parent 4bb3f24 commit da3ce6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enjoyhint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ var EnjoyHint = function (_options) {
133133
that.clear();
134134
}, 250);
135135

136-
$(document.body).scrollTo(step_data.selector, step_data.scrollAnimationSpeed || 250, {offset: -100});
136+
$(document.body).scrollTop(step_data.selector, step_data.scrollAnimationSpeed || 250, {offset: -100});
137137

138138
setTimeout(function () {
139139

0 commit comments

Comments
 (0)