fix microw8.html no-autoload mode

This commit is contained in:
2022-03-05 23:10:04 +01:00
parent 99a423619e
commit 7197c11586
3 changed files with 8 additions and 5 deletions

View File

@@ -79,7 +79,9 @@ if(location.hash.length != 0) {
url += 'cart.uw8';
}
try {
await uw8.runModuleFromURL(url, true);
if(!await uw8.runModuleFromURL(url, true)) {
setupLoad();
}
} catch(e) {
setupLoad();
}