fix: added await for lang.build()

This commit is contained in:
Yurii
2026-02-13 11:21:17 +03:00
parent 3a6bb03456
commit 13e8bedf3f
6 changed files with 6 additions and 6 deletions

View File

@@ -179,7 +179,7 @@
<script>
document.addEventListener('DOMContentLoaded', async () => {
const lang = new Lang(document.getElementById('lang'));
lang.build();
await lang.build();
const fillData = (data) => {
setInputValue("[name='hostname']", data.hostname);