MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 30: Line 30:
         communityListFeatured.show();
         communityListFeatured.show();
     }
     }
   
    // Listen for clicks on filter elements
    $('.filtered-value-option-label').on('click', function() {
        // Hide the community list featured section when a filter is clicked
        communityListFeatured.hide();
    });
    // Optional: Code to show the community list featured again when filters are cleared
    // Replace '.clear-filters' with the correct selector for your clear filter button
    $('.clear-filters').on('click', function() {
        communityListFeatured.show();
    });


     function formatParagraphs(text) {
     function formatParagraphs(text) {

Navigation menu