Jump to content

MediaWiki:Vector.js: Difference between revisions

From Hasan Wiki
No edit summary
Blanked the page
Tag: Blanking
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* All JavaScript here will be loaded for users of the Vector skin */


    var categorySection = $('#p-Categories');
    if (!categorySection.length) {
        return;
    }
    var categoryTitle = categorySection.find('.vector-menu-heading');
    categoryTitle.css({
        'cursor': 'pointer',
        'user-select': 'none'
    });
    categoryTitle.on('click', function () {
        categorySection.toggleClass('categories-open');
    });

Latest revision as of 11:56, 22 August 2026