Jelajahi Sumber

Merge pull request #1579 from Ribas160/page_template_scripts_load_order

Page template scripts loading order fix
El RIDO 1 tahun lalu
induk
melakukan
1842d356e5
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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):
 ?>