ソースを参照

Page template scripts loading order fix

Ribas160 1 年間 前
コミット
207b5ccc5f
1 ファイル変更2 行追加2 行削除
  1. 2 2
      tpl/page.php

+ 2 - 2
tpl/page.php

@@ -35,8 +35,8 @@ if ($ZEROBINCOMPATIBILITY):
 endif;
 ?>
 		<?php $this->_scriptTag('js/zlib-1.3.1-1.js', 'async'); ?>
-		<?php $this->_scriptTag('js/base-x-4.0.0.js', 'async'); ?>
-		<?php $this->_scriptTag('js/rawinflate-0.3.js', 'async'); ?>
+		<?php $this->_scriptTag('js/base-x-4.0.0.js', 'defer'); ?>
+		<?php $this->_scriptTag('js/rawinflate-0.3.js', 'defer'); ?>
 <?php
 if ($SYNTAXHIGHLIGHTING):
 ?>