diff --git a/src/Hooks/MainHookHandler.php b/src/Hooks/MainHookHandler.php index ad61fea..5f37f6e 100644 --- a/src/Hooks/MainHookHandler.php +++ b/src/Hooks/MainHookHandler.php @@ -16,12 +16,11 @@ class MainHookHandler implements { /** - * Add our CSS files to the page + * Add our JS and CSS files to the page * @param OutputPage $out * @param Skin $skin */ public function onBeforePageDisplay( $out, $skin ): void { - $out->addModuleStyles( 'ext.networknotice.Notice' ); $out->addModules( 'ext.networknotice.Notice' ); }