MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 179: Line 179:
     
     
    // Adjust width of #list-list-2
    // Adjust width of #list-list-2
    listList2.css('width', 'auto)');
    listList2.width('50%');
     
     
    // Hide communityFeatured
    // Hide communityFeatured
Line 431: Line 431:
    // Revert width of filtered-list-items in #list
    // Revert width of filtered-list-items in #list
    filteredListItems.css('width', 'calc(20% - 0px)');
    filteredListItems.css('width', 'calc(20% - 0px)');
   
    // Revert width of filtered-list-items in #list
    listList2.width(originalListList2Width); // This resets the width of #list-list-2
    // Check if filters are cleared before showing the featured content
    // Check if filters are cleared before showing the featured content

Navigation menu