1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 00:24:49 +00:00
This commit is contained in:
zumbiepig 2024-09-07 15:11:25 -07:00
parent 4cfe54f5f1
commit bfb131d4ea
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -628,9 +628,8 @@ if (window.location.pathname === '/settings/') {
} else if (window.location.pathname === '/updates/') {
document.addEventListener('DOMContentLoaded', async () => {
const updatesContainer = document.querySelector('.updates-container');
const data: { version: string; changelog: string[] }[] = (
await (await fetch('/resources/data/main.json')).json()
).updates;
const data: { version: string; changelog: string[] }[] = (await (await fetch('/resources/data/main.json')).json())
.updates;
data.forEach((update) => {
const version = document.createElement('div');
const name = document.createElement('strong');