fix(index.html): use defer and move script to head (#6999)

This commit is contained in:
Even Stensberg
2023-11-09 23:13:24 +01:00
committed by GitHub
parent 591b5745a8
commit 29b7c389ad

View File

@@ -91,11 +91,7 @@
width: 100px;
}
</style>
</head>
<body>
<div id="app"></div>
</body>
<script>
<script defer>
const THIRTY_SECONDS = 30 * 1000;
const ONE_MINUTE = THIRTY_SECONDS * 2;
const FIVE_MINUTES = ONE_MINUTE * 5;
@@ -244,4 +240,8 @@
openmct.start();
});
</script>
</head>
<body>
<div id="app"></div>
</body>
</html>