4,554
edits
No edit summary Tag: Manual revert |
No edit summary |
||
Line 22: | Line 22: | ||
} | } | ||
if (communityListFeatured.length && filteredCards.length >= | if (communityListFeatured.length && filteredCards.length >= 4) { | ||
// Detach and insert the community featured element after the second card | // Detach and insert the community featured element after the second card | ||
communityListFeatured.detach(); | communityListFeatured.detach(); | ||
filteredCards.eq( | filteredCards.eq(3).after(communityListFeatured); | ||
// Show the community-featured element after positioning it | // Show the community-featured element after positioning it |