Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-08 16:24:40 +01:00
parent 719865c033
commit 7113fe7e31
1 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,8 @@ function checkBrowserFeatures() {
// 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.
// 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() {
// load init.ts async so that its code is not executed immediately and we can catch any exceptions
const {
@ -97,7 +99,6 @@ async function start() {
await settled(rageshakePromise); // give rageshake a chance to load/fail
const fragparts = parseQsFromFragment(window.location);
// don't try to redirect to the native apps if we're