diff --git a/frontend-svelte/public/index.html b/frontend-svelte/public/index.html index 52368f0d..d682c4bb 100644 --- a/frontend-svelte/public/index.html +++ b/frontend-svelte/public/index.html @@ -52,22 +52,26 @@ // Display an error if the browser is incompatible with a required API // This is run outside the JS code bundle in case unsupported features cause a syntax error when parsing the bundle, preventing the any bundle code from running - // TODO: Svelte: reenable this - let error; + let incompatibility; if (!("BigUint64Array" in window)) { - error = ` - -
Please upgrade to a modern web browser such as the latest Firefox, Chrome, Edge, or Safari version 15 or newer.
-(The BigInt64Array
-JavaScript API must be supported by the browser for Graphite to function.)
Please upgrade to a modern web browser such as the latest Firefox, Chrome, Edge, or Safari version 15 or newer.
+(The BigInt64Array
+ JavaScript API must be supported by the browser for Graphite to function.)