Move async modules to the body

This commit is contained in:
Raymonzut
2020-06-20 21:34:34 +02:00
parent f4f9092fe8
commit 1a5bc59a99
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -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>
+1 -2
View File
@@ -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>