1
0
Эх сурвалжийг харах

Page template scripts loading order fix

Ribas160 1 жил өмнө
parent
commit
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):
 ?>