Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2022-01-12 10:56:50 +01:00
21 changed files with 41 additions and 39 deletions
@@ -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();
+1 -1
View File
@@ -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() {