mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 21:48:44 +05:00
fix: added await for lang.build()
This commit is contained in:
1 parent
3a6bb03456
commit
13e8bedf3f
6 files changed
+6
-6
No files matched your search
@@ -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