Skip to content

Commit a540c9e

Browse files
committed
scrollTo to scrollTop
1 parent da3ce6f commit a540c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/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)