Gildas 2 anos atrás
pai
commit
2d8710bee6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/ui/content/content-ui-editor-web.js

+ 1 - 1
src/ui/content/content-ui-editor-web.js

@@ -1138,7 +1138,7 @@ pre code {
 				workerScripts: { inflate: ["/lib/single-file-z-worker.js"] }
 			};
 			try {
-				const worker = new Worker(zipOptions.workerScripts);
+				const worker = new Worker(zipOptions.workerScripts.inflate[0]);
 				worker.terminate();
 			} catch (error) {
 				delete zipOptions.workerScripts;