forked from matrix/element-web
small tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
cc939f9645
commit
343d4ea641
|
@ -191,17 +191,13 @@ async function start() {
|
||||||
// run on the components.
|
// run on the components.
|
||||||
await loadApp(fragparts.params);
|
await loadApp(fragparts.params);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.trace(err);
|
console.error(err);
|
||||||
const { showError } = await import(
|
|
||||||
/* webpackChunkName: "init" */
|
|
||||||
/* webpackPreload: true */
|
|
||||||
"./init");
|
|
||||||
await showError(err);
|
await showError(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
start().catch(err => {
|
start().catch(err => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
if (!acceptBrowser) {
|
if (!acceptBrowser) {
|
||||||
alert("Incompatible browser");
|
// TODO redirect to static incompatible browser page
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue