mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
fix from review
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user