User:Monster Domosed/common.js: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 474: Line 474:
                     // Initialize ability upgrades for new content
                     // Initialize ability upgrades for new content
                     if ( type === 'ability' ) {
                     if ( type === 'ability' ) {
                        // Trigger MediaWiki's content hook so other gadgets can initialize
                        mw.hook( 'wikipage.content' ).fire( tt );
                         initAbilityUpgrades( tt );
                         initAbilityUpgrades( tt );
                     }
                     }