MediaWiki:Common.js: Difference between revisions

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


     if (communityListFeatured.length && filteredCards.length >= 4) {
     if (communityListFeatured.length && filteredCards.length >= 2) {
         // Detach and insert the community featured element after the fourth card
         // Detach and insert the community featured element after the second card
         communityListFeatured.detach();
         communityListFeatured.detach();
         filteredCards.eq(1).after(communityListFeatured);
         filteredCards.eq(1).after(communityListFeatured);

Navigation menu