Check game button exists

This commit is contained in:
Connor Yoh 2025-04-14 11:40:57 +01:00
parent 9f5f333f57
commit 47eaeb1984

View File

@ -132,7 +132,9 @@
}
} catch (error) {
clearTimeout(timeoutId);
showGameBtn.style.display = 'none';
if(showGameBtn){
showGameBtn.style.display = 'none';
}
submitButton.textContent = originalButtonText;
submitButton.disabled = false;
handleDownloadError(error);