Просмотр исходного кода

Replace addModuleScripts with addModules

It does the same thing but also allows css.
paladox 9 лет назад
Родитель
Сommit
0f91441604
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Foreground.skin.php

+ 1 - 1
Foreground.skin.php

@@ -48,7 +48,7 @@ class Skinforeground extends SkinTemplate {
 
 		$viewport_meta = 'width=device-width, user-scalable=yes, initial-scale=1.0';
 	  $out->addMeta('viewport', $viewport_meta);
-		$out->addModuleScripts('skins.foreground.js');
+		$out->addModules('skins.foreground.js');
 	}
 
 }