fix from review

This commit is contained in:
Georges-Antoine Assi
2025-08-04 21:06:52 -04:00
parent 45840a6e81
commit 0ee3f80f81

View File

@@ -204,9 +204,7 @@ async function downloadRom({
a.click();
setTimeout(() => {
if (document.body.contains(a)) {
document.body.removeChild(a);
}
document.body.removeChild(a);
resolve();
}, DOWNLOAD_CLEANUP_DELAY);
});