mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
small tweaks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
cc939f9645
commit
343d4ea641
1 changed files with 2 additions and 6 deletions
|
@ -191,17 +191,13 @@ async function start() {
|
|||
// run on the components.
|
||||
await loadApp(fragparts.params);
|
||||
} catch (err) {
|
||||
console.trace(err);
|
||||
const { showError } = await import(
|
||||
/* webpackChunkName: "init" */
|
||||
/* webpackPreload: true */
|
||||
"./init");
|
||||
console.error(err);
|
||||
await showError(err);
|
||||
}
|
||||
}
|
||||
start().catch(err => {
|
||||
console.error(err);
|
||||
if (!acceptBrowser) {
|
||||
alert("Incompatible browser");
|
||||
// TODO redirect to static incompatible browser page
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue