Browse Source

Replace addModuleScripts with addModules

It does the same thing but also allows css.
paladox 9 năm trước cách đây
mục cha
commit
0f91441604
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
 	}
 
 }