mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-23 21:22:52 +00:00
Merge "Don't load Vue on page load"
This commit is contained in:
commit
6988e66271
|
@ -76,8 +76,7 @@ function main( window ) {
|
||||||
if ( appearanceMenuExists ) {
|
if ( appearanceMenuExists ) {
|
||||||
mw.loader.using( [
|
mw.loader.using( [
|
||||||
'skins.vector.clientPreferences',
|
'skins.vector.clientPreferences',
|
||||||
'skins.vector.search.codex.styles',
|
'skins.vector.search.codex.styles'
|
||||||
'skins.vector.search.codex.scripts'
|
|
||||||
] ).then( () => {
|
] ).then( () => {
|
||||||
const clientPreferences = require( /** @type {string} */ ( 'skins.vector.clientPreferences' ) );
|
const clientPreferences = require( /** @type {string} */ ( 'skins.vector.clientPreferences' ) );
|
||||||
const clientPreferenceConfig = ( require( './clientPreferences.json' ) );
|
const clientPreferenceConfig = ( require( './clientPreferences.json' ) );
|
||||||
|
|
Loading…
Reference in a new issue