MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 22: Line 22:
}
}


     if (communityListFeatured.length && filteredCards.length >= 2) {
     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(1).after(communityListFeatured);
         filteredCards.eq(3).after(communityListFeatured);


         // Show the community-featured element after positioning it
         // Show the community-featured element after positioning it

Navigation menu