Skip to content

Commit f2de1e5

Browse files
authored
Update script.js
1 parent d66081d commit f2de1e5

File tree

1 file changed

+2
-2
lines changed
  • features/recent-followers-and-following

1 file changed

+2
-2
lines changed

features/recent-followers-and-following/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default async function ({ feature, console }) {
3434
profileImage: follow.profile.images['90x90'] || follow.profile.images['50x50'] || '',
3535
}));
3636

37-
ScratchTools.waitForElements("#featured", function (allFeaturedElements) {
37+
const allFeaturedElements = document.querySelectorAll("#featured");
3838
if (allFeaturedElements.length === 0) return;
3939

4040
const lastFeaturedElement = allFeaturedElements[allFeaturedElements.length - 1];
@@ -109,4 +109,4 @@ export default async function ({ feature, console }) {
109109
return;
110110
}
111111
}
112-
112+

0 commit comments

Comments
 (0)