MediaWiki:Common.js: Difference between revisions

No edit summary
No edit summary
Line 1,351: Line 1,351:


/*----------------------------5-6-2026---------------------------------------*/
/*----------------------------5-6-2026---------------------------------------*/
$(function () {
    // Mobile only
    if (mw.config.get('skin') !== 'minerva') {
        return;
    }
    $('.pre-content.heading-holder').each(function () {
        // If breadcrumb paragraph exists
        if ($(this).children('p').find('a').length > 0) {
            // Hide page title
            $(this).find('#firstHeading').hide();
        }
    });
});