Skip to content

Commit

Permalink
Fix game manu getting deleted and becoming unusable
Browse files Browse the repository at this point in the history
  • Loading branch information
LegItMate committed Sep 23, 2022
1 parent b0553cb commit dd72044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/listeners.vue
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ window.addEventListener('load', async function () {
data = data.filter(a => a.DisplayName != document.getElementById("removeGame").parentNode.parentNode.firstChild.innerHTML)
await fs.writeTextFile(await path.appDir() + 'storage/cache/games/data.json', JSON.stringify(data));
document.getElementById(`game-div-${document.getElementById("removeGame").parentNode.parentNode.firstChild.innerHTML.replaceAll(' ', '_')}`).remove()
document.getElementById("removeGame").parentNode.parentNode.remove()
setTimeout(() => document.getElementById("removeGame").parentNode.parentNode.style = '', 200);
})
function toggleIndicatorAnim() {
Expand Down

0 comments on commit dd72044

Please sign in to comment.