MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 154: Line 154:
         // Adjust width of filtered-list-items in #list
         // Adjust width of filtered-list-items in #list
         filteredListItems.css('width', 'calc(33.3% - 2px)');
         filteredListItems.css('width', 'calc(33.3% - 2px)');
       
        // Hide communityFeatured
        communityFeatured.hide();
          
          
         // Extract and handle the information from the cardElement
         // Extract and handle the information from the cardElement
Line 269: Line 272:
         // Revert width of filtered-list-items in #list
         // Revert width of filtered-list-items in #list
         filteredListItems.css('width', 'calc(20% - 2px)');
         filteredListItems.css('width', 'calc(20% - 2px)');
       
        // Show communityFeatured
        communityFeatured.show();
     }
     }
      
      

Navigation menu