Move async modules to the body

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

@ -15,8 +15,6 @@
>
<link defer rel="stylesheet" href="css/general.css" media="all">
<script async type="module" src="index.mjs"></script>
</head>
<body>
<div id="app">
@ -47,5 +45,6 @@
</p>
</div>
</div>
<script async type="module" src="index.mjs"></script>
</body>
</html>

@ -14,8 +14,6 @@
>
<link defer rel="stylesheet" href="css/general.css" media="all">
<script async type="module" src="posts.mjs"></script>
</head>
<body>
<noscript>
@ -33,6 +31,7 @@
<!-- Placeholder for posts -->
<div id="posts"></div>
<script async type="module" src="posts.mjs"></script>
</div>
</body>
</html>

Loading…
Cancel
Save