mirror of https://github.com/xwiki-labs/cryptpad
avoid loading x2t twice
This commit is contained in:
parent
586e0367fe
commit
fae6d97c3e
www/common/onlyoffice/x2t
|
@ -1354,7 +1354,7 @@ function createWasm() {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
function instantiateAsync() {
|
function instantiateAsync() {
|
||||||
if (!wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && typeof fetch === "function") {
|
if (false && !wasmBinary && typeof WebAssembly.instantiateStreaming === "function" && !isDataURI(wasmBinaryFile) && typeof fetch === "function") {
|
||||||
fetch(wasmBinaryFile, {
|
fetch(wasmBinaryFile, {
|
||||||
credentials: "same-origin"
|
credentials: "same-origin"
|
||||||
}).then((function(response) {
|
}).then((function(response) {
|
||||||
|
|
Loading…
Reference in New Issue