mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
reenable only using worker when wasm is not supported
This commit is contained in:
parent
df25382616
commit
95c6fd5a5b
@ -102,9 +102,9 @@ export async function main(container, paths) {
|
||||
// if wasm is not supported, we'll want
|
||||
// to run some olm operations in a worker (mainly for IE11)
|
||||
let workerPromise;
|
||||
// if (!window.WebAssembly) {
|
||||
if (!window.WebAssembly) {
|
||||
workerPromise = loadOlmWorker(paths);
|
||||
// }
|
||||
}
|
||||
|
||||
const vm = new BrawlViewModel({
|
||||
createSessionContainer: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user