Skip to content

Commit 64ed493

Browse files
committed
auto scroll
1 parent 4a51ea3 commit 64ed493

File tree

1 file changed

+1
-1
lines changed
  • scripts/backup/ext/fb-auto-invite-share/popup/auto_invite_like_page

1 file changed

+1
-1
lines changed

scripts/backup/ext/fb-auto-invite-share/popup/auto_invite_like_page/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function start(maxPosts, waitMin, waitMax) {
105105
if (btns.length > 0) {
106106
const btn = btns.shift();
107107

108-
btn.scrollIntoView({ block: "center", behavior: "smooth" });
108+
btn.scrollIntoView({ block: "start", behavior: "smooth" });
109109
console.log("click", btn);
110110
btn.click();
111111

0 commit comments

Comments
 (0)