MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 50: Line 50:
             );
             );


             // Apply the fade-out effect to the #list element
             // Apply the fade-out effect to the #overlay element
             $('#list').addClass('fade-out');
             $('#overlay').addClass('fade-out');
         });
         });


Line 59: Line 59:
             if (event.target.id === 'close-button' || !$.contains(this, event.target)) {
             if (event.target.id === 'close-button' || !$.contains(this, event.target)) {
                 // Remove the fade-out class when hiding the fixed column
                 // Remove the fade-out class when hiding the fixed column
                 $('#list').removeClass('fade-out');
                 $('#overlay').removeClass('fade-out');
                 $('#show-article').css('display', 'none');
                 $('#show-article').css('display', 'none');
             }
             }

Navigation menu