mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Allow rageshake to fail in init
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
6e15684a04
commit
36f55c1630
@ -109,7 +109,8 @@ async function start() {
|
|||||||
"./init");
|
"./init");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await settled(rageshakePromise); // give rageshake a chance to load/fail
|
// give rageshake a chance to load/fail, we don't actually assert rageshake loads, we allow it to fail if no IDB
|
||||||
|
await settled(rageshakePromise);
|
||||||
|
|
||||||
const fragparts = parseQsFromFragment(window.location);
|
const fragparts = parseQsFromFragment(window.location);
|
||||||
|
|
||||||
@ -182,7 +183,6 @@ async function start() {
|
|||||||
// app load critical path starts here
|
// app load critical path starts here
|
||||||
// assert things started successfully
|
// assert things started successfully
|
||||||
// ##################################
|
// ##################################
|
||||||
await rageshakePromise;
|
|
||||||
await loadOlmPromise;
|
await loadOlmPromise;
|
||||||
await loadSkinPromise;
|
await loadSkinPromise;
|
||||||
await loadThemePromise;
|
await loadThemePromise;
|
||||||
|
Loading…
Reference in New Issue
Block a user