Gildas před 2 roky
rodič
revize
2d8710bee6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;