MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 309: Line 309:
});
});


    // Attach a click event listener to close the fixed column when clicking the close button
     $('#close-button').on('click', function () {
     $('#close-button').on('click', function () {
        // Remove the fade-out class when hiding the fixed column
    // Remove the fade-out class from both #list and #list-list when hiding the fixed column
        $('#list').removeClass('fade-out');
    $('#list, #list-list').removeClass('fade-out');
        showArticleWrapper.css('display', 'none');
    showArticleWrapper.css('display', 'none');
    });
});


     // Hover effect for scrolling
     // Hover effect for scrolling

Navigation menu