Use bodyClasses option to register static classes on skin
Bug: T298734 Change-Id: Ia2ae8e1c655aff8783c2602da992632cd5877bf8
This commit is contained in:
parent
985299ef9a
commit
6f7a6bb24b
|
@ -606,10 +606,6 @@ class Hooks {
|
|||
// list.
|
||||
if ( self::isSkinVersionLegacy( $skinName ) ) {
|
||||
$bodyAttrs['class'] .= ' skin-vector-legacy';
|
||||
} else {
|
||||
// The modern Vector skin must also carry skin-vector for compatibility with older
|
||||
// skins.
|
||||
$bodyAttrs['class'] .= ' skin-vector skin-vector-search-vue';
|
||||
}
|
||||
|
||||
$config = $sk->getConfig();
|
||||
|
|
Loading…
Reference in New Issue