mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-02-28 12:17:06 +05:00
fix: added await for lang.build()
This commit is contained in:
@@ -201,7 +201,7 @@
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", async () => {
|
||||
const lang = new Lang(document.getElementById("lang"));
|
||||
lang.build();
|
||||
await lang.build();
|
||||
|
||||
const container = document.querySelector("article");
|
||||
const templateNode = container.querySelector("#template");
|
||||
|
||||
Reference in New Issue
Block a user