Skip to content

Commit

Permalink
Remove obsolete addModuleStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidely committed May 2, 2024
1 parent 9e0b66a commit a82a11d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Hooks/MainHookHandler.php
Expand Up @@ -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' );
}

Expand Down

0 comments on commit a82a11d

Please sign in to comment.