Async scripts instead of defer; defer is default for modules

master
Raymonzut 4 years ago
parent 740c584378
commit 3e85246344
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 2
      client/public/index.html
  2. 2
      client/public/posts.html

@ -13,7 +13,7 @@
>
<link defer rel="stylesheet" href="css/general.css" media="all">
<script defer type="module" src="index.mjs"></script>
<script async type="module" src="index.mjs"></script>
</head>
<body>

@ -12,7 +12,7 @@
>
<link defer rel="stylesheet" href="css/general.css" media="all">
<script defer type="module" src="posts.mjs"></script>
<script async type="module" src="posts.mjs"></script>
</head>
<body>

Loading…
Cancel
Save