Commit df7d6ba2 authored by Vadym Gidulian's avatar Vadym Gidulian

Used 'defer' instead of 'async'

parent ef6684e3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Project</title> <title>Project</title>
<script async src="<?php echo DIR; ?>/js/script.all.min.js"></script> <script defer src="<?php echo DIR; ?>/js/script.all.min.js"></script>
<link rel="stylesheet" href="<?php echo DIR; ?>/css/style.all.min.css"> <link rel="stylesheet" href="<?php echo DIR; ?>/css/style.all.min.css">
</head> </head>
<body> <body>
......
...@@ -17,7 +17,7 @@ mixin head(title) ...@@ -17,7 +17,7 @@ mixin head(title)
meta(charset="UTF-8") meta(charset="UTF-8")
title= title title= title
script(async src!="<?php echo DIR; ?>/js/script.all.min.js") script(defer src!="<?php echo DIR; ?>/js/script.all.min.js")
link(rel="stylesheet" href!="<?php echo DIR; ?>/css/style.all.min.css") link(rel="stylesheet" href!="<?php echo DIR; ?>/css/style.all.min.css")
block block
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment