We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66081d commit f2de1e5Copy full SHA for f2de1e5
features/recent-followers-and-following/script.js
@@ -34,7 +34,7 @@ export default async function ({ feature, console }) {
34
profileImage: follow.profile.images['90x90'] || follow.profile.images['50x50'] || '',
35
}));
36
37
- ScratchTools.waitForElements("#featured", function (allFeaturedElements) {
+ const allFeaturedElements = document.querySelectorAll("#featured");
38
if (allFeaturedElements.length === 0) return;
39
40
const lastFeaturedElement = allFeaturedElements[allFeaturedElements.length - 1];
@@ -109,4 +109,4 @@ export default async function ({ feature, console }) {
109
return;
110
}
111
112
-
+
0 commit comments