We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c5112e commit ac37ad2Copy full SHA for ac37ad2
index.html
@@ -291,12 +291,6 @@ <h3>Acknowledgments</h3>
291
</div>
292
293
294
- <script type="module">
295
- import initApp from "./src/js/main";
296
-
297
- window.onload = async () => {
298
- await initApp();
299
- };
300
- </script>
+ <script type="module" src="src/js/main.ts"></script>
301
</body>
302
</html>
src/js/main.ts
@@ -48,3 +48,7 @@ export default async function initApp(): Promise<void> {
48
viewToggle.initialize();
49
filterManager.initialize();
50
}
51
+
52
+window.onload = async () => {
53
+ await initApp();
54
+};
0 commit comments