reenable only using worker when wasm is not supported
This commit is contained in:
parent
df25382616
commit
95c6fd5a5b
1 changed files with 2 additions and 2 deletions
|
@ -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: () => {
|
||||
|
|
Reference in a new issue