Merge branch 'develop' of github.com:thecodingmachine/workadventure
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
const selectedFile = inputAudio.files ? inputAudio.files[0] : null;
|
||||
if (!selectedFile) {
|
||||
errorFile = true;
|
||||
throw "no file selected";
|
||||
throw new Error("no file selected");
|
||||
}
|
||||
|
||||
const fd = new FormData();
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else throw "There is no menu called " + menu;
|
||||
} else throw new Error("There is no menu called " + menu);
|
||||
}
|
||||
|
||||
function closeMenu() {
|
||||
|
||||
Reference in New Issue
Block a user