Fix bug initializing app
This commit is contained in:
parent
04aec9231b
commit
3fa976c67c
|
|
@ -7,8 +7,9 @@ function fileDragOverHandler(event) {
|
|||
async function run() {
|
||||
await init();
|
||||
|
||||
let pteropus;
|
||||
try {
|
||||
let pteropus = await init_pteropus();
|
||||
pteropus = await init_pteropus();
|
||||
} catch(e) {
|
||||
const errorParagraph = document.createElement("p");
|
||||
if(e instanceof PteropusInitError) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue