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

Page template scripts loading order fix

Ribas160 1 год назад
Родитель
Сommit
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):
 ?>