Funorb - Fix game list page having a bunch of undefined's everywhere

This commit is contained in:
dginovker 2023-05-11 01:29:19 +09:00
parent e6b3fdab9b
commit 0b0b3e466c
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
"description": "Battle of the ages!",
"warn": "Warning: This game is very LOUD",
"id": "ageofwar",
"genres": ["sport", "strategy"],
"genres": ["strategy"],
"multiplayer": false
},
"bloonstd1": {

View File

@ -408,8 +408,10 @@
"a"
);
gameGenreLink.href = "gamelist.html";
gameGenreLink.style.textTransform =
"capitalize";
gameGenreLink.innerText =
gameData.genre;
gameData.genres[0];
gameGenreDiv.appendChild(
gameGenreLink
);