mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
Don't use core config in Vector skin
Vector's own configuration properties should be fetched from Vector's own config object, instead of core's config object. Follow up: Ib611357bbce739b1d193abaf89c228ba52613d6a Change-Id: I358a5c1876098a85d77e90b11b3bf4e77c0f6c78
This commit is contained in:
parent
a8f8ecf234
commit
0eaadb3b14
|
@ -46,7 +46,7 @@ class SkinVector extends SkinTemplate {
|
|||
public function initPage( OutputPage $out ) {
|
||||
parent::initPage( $out );
|
||||
|
||||
if ( $this->getConfig()->get( 'VectorResponsive' ) ) {
|
||||
if ( $this->vectorConfig->get( 'VectorResponsive' ) ) {
|
||||
$out->addMeta( 'viewport', 'width=device-width, initial-scale=1' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue