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 11: Line 11:


         // Attach a click event listener to each card
         // Attach a click event listener to each card
         cards.on('click', function (event) {
         cards.on('click', function () {
             // Log a message when a card is clicked
             // Log a message when a card is clicked
             console.log('Clicked on card:', this);
             console.log('Clicked on card:', this);
            // Stop event propagation to prevent interference with other click events
            event.stopPropagation();


             // Show the fixed column
             // Show the fixed column

Navigation menu