Restore load position override for 'site.styles' module

Follows-up 93ed259 which changed the module to be 'site.styles', but
the override was still looking for a module called 'site' (which isn't
listed in that queue anymore).

Bug: T138586
Change-Id: I3052a2e378f804d0d4d117f8ed446fe9b4b59f99
This commit is contained in:
Timo Tijhof 2016-06-24 15:51:27 +02:00 committed by Ori.livneh
parent 040860277b
commit c20a76ee0a

View file

@ -3694,7 +3694,7 @@ class OutputPage extends ContextSource {
if ( !$module ) {
continue;
}
if ( $name === 'site' ) {
if ( $name === 'site.styles' ) {
// HACK: The site module shouldn't be fragmented with a cache group and
// http request. But in order to ensure its styles are separated and after the
// ResourceLoaderDynamicStyles marker, pretend it is in a group called 'site'.