mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
comments
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
719865c033
commit
7113fe7e31
@ -79,6 +79,8 @@ function checkBrowserFeatures() {
|
|||||||
// React depends on Map & Set which we check for using modernizr's es6collections
|
// React depends on Map & Set which we check for using modernizr's es6collections
|
||||||
// if modernizr fails we may not have a functional react to show the error message.
|
// if modernizr fails we may not have a functional react to show the error message.
|
||||||
// try in react but fallback to an `alert`
|
// try in react but fallback to an `alert`
|
||||||
|
// We start loading stuff but don't block on it until as late as possible to allow
|
||||||
|
// the browser to use as much parallelism as it can.
|
||||||
async function start() {
|
async function start() {
|
||||||
// load init.ts async so that its code is not executed immediately and we can catch any exceptions
|
// load init.ts async so that its code is not executed immediately and we can catch any exceptions
|
||||||
const {
|
const {
|
||||||
@ -97,7 +99,6 @@ async function start() {
|
|||||||
|
|
||||||
await settled(rageshakePromise); // give rageshake a chance to load/fail
|
await settled(rageshakePromise); // give rageshake a chance to load/fail
|
||||||
|
|
||||||
|
|
||||||
const fragparts = parseQsFromFragment(window.location);
|
const fragparts = parseQsFromFragment(window.location);
|
||||||
|
|
||||||
// don't try to redirect to the native apps if we're
|
// don't try to redirect to the native apps if we're
|
||||||
|
Loading…
Reference in New Issue
Block a user