mediawiki-extensions-Echo/modules/ext.echo.centralauth.js
Ed Sanders 2dd3780966 ESLint: Prefer arrow callbacks (autofixed)
Change-Id: I01da3714b1f5d9b1926ee4394c15f594efb01245
2024-06-03 14:49:38 +01:00

12 lines
237 B
JavaScript

/*
* Loads Echo on CentralAuth autologin
*/
mw.hook( 'centralauth-p-personal-reset' ).add( () => {
mw.loader.using( [
'ext.echo.init',
'ext.echo.styles.badge',
'oojs-ui.styles.icons-alerts',
'ext.echo.styles.alert'
] );
} );