Attempt to fix styles not loading properly

This commit is contained in:
alistair3149 2020-02-15 20:38:11 -05:00
parent 5fd977ea6c
commit 42286cfc95
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -213,7 +213,7 @@ class SkinCitizen extends SkinTemplate {
$modules = parent::getDefaultModules();
// disable default skin search modules
$modules['search'] = 'skins.citizen.search';
$modules['search'] = 'skins.citizen.search.scripts';
return $modules;
}
@ -224,7 +224,7 @@ class SkinCitizen extends SkinTemplate {
private function addModules() {
$this->out->addModuleStyles( [
'mediawiki.skinning.content.externallinks',
'skins.citizen',
'skins.citizen.styles',
'skins.citizen.icons',
'skins.citizen.icons.ca',
'skins.citizen.icons.p',
@ -239,7 +239,7 @@ class SkinCitizen extends SkinTemplate {
] );
$this->out->addModules( [
'skins.citizen.js',
'skins.citizen.scripts',
] );
}
}