Correction form review and checks

This commit is contained in:
GRL 2021-06-22 10:27:54 +02:00
parent da5ae02a06
commit 4fedc30301
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,9 @@
async function SendAudioMessage() {
if (gameScene == undefined) {
return;
}
const inputAudio = HtmlUtils.getElementByIdOrFail<HTMLInputElement>("input-send-audio");
const selectedFile = inputAudio.files ? inputAudio.files[0] : null;
if (!selectedFile) {