Dequeue render blocking styles

The change in If9c8f0974e3a4b08e4a66d37f7f5adf67d73054e
will introduce styles that are incompatible with Minerva due
to the blanking of the content array. The styles content
array should also be blanked.

Bug: T42812
Change-Id: I3388c3c4f91cdbab11e89cdc95973b688d3f1ce7
This commit is contained in:
jdlrobson 2018-04-26 13:04:04 -07:00
parent 54b6179efc
commit e2d72f4ba1
1 changed files with 2 additions and 0 deletions

View File

@ -1377,6 +1377,8 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
$modules = parent::getDefaultModules();
// dequeue default content modules (toc, sortable, collapsible, etc.)
$modules['content'] = [];
// dequeue styles associated with `content` key.
$modules['styles']['content'] = [];
// dequeue default watch module (not needed, no watchstar in this skin)
$modules['watch'] = [];
// disable default skin search modules