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();
     }
     }
   
    // Using delegated event handling
    $('#list').on('mousedown', '.filtered-value-option', function (event) {
        console.log("Filter clicked");
        communityFeatured.hide();
        console.log("Community Featured should now be hidden");
    });
      
      
     // Using delegated event handling
     // Using delegated event handling

Navigation menu