User:Ricewind/common.js: Difference between revisions

From Melvor Idle
No edit summary
(Blanked the page)
Tags: Blanking Manual revert
 
Line 1: Line 1:
mw.hook('pp.render').add(function(popup) {
 
    // Find the popup content
    var $popupContent = popup.$body;
    // Remove headers from the popup content
    $popupContent.find('h1, h2, h3, h4, h5, h6').remove();
});

Latest revision as of 13:24, 19 July 2024