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

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

Loading…
Cancel
Save