diff --git a/includes/SkinTimeless.php b/includes/SkinTimeless.php index f0b9f4c..4bd1287 100644 --- a/includes/SkinTimeless.php +++ b/includes/SkinTimeless.php @@ -17,10 +17,6 @@ class SkinTimeless extends SkinTemplate { public function initPage( OutputPage $out ) { parent::initPage( $out ); - $out->addModules( [ - 'skins.timeless.js' - ] ); - // Basic IE support without flexbox $out->addStyle( $this->stylename . '/resources/IE9fixes.css', 'screen', 'IE' ); } diff --git a/skin.json b/skin.json index 3d5d5cc..b16ceae 100644 --- a/skin.json +++ b/skin.json @@ -21,6 +21,9 @@ "styles": [ "mediawiki.skinning.content.externallinks", "skins.timeless" + ], + "scripts": [ + "skins.timeless.js" ] } ]