Skip to content

Commit 73c7583

Browse files
committed
Fix import paths in HeatConduction2DFinWorker.html to use local FEAWrapperScript
1 parent e7a83a5 commit 73c7583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/HeatConduction2DFinWorker.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>Web Worker Implementation</h2>
9999

100100
<pre class="prettyprint">
101101
&lt;script type="module"&gt;
102-
import { FEAWorkerScript, plotSolution, printVersion } from "../FEAWrapperScript.js";
102+
import { FEAWorkerScript, plotSolution, printVersion } from "./FEAWrapperScript.js";
103103
window.addEventListener("DOMContentLoaded", async () =&gt; {
104104
// Print FEAScript version
105105
printVersion();
@@ -168,7 +168,7 @@ <h2>Results</h2>
168168
FEAWorkerScript,
169169
plotSolution,
170170
printVersion,
171-
} from "../FEAWrapperScript.js";
171+
} from "./FEAWrapperScript.js";
172172
window.addEventListener("DOMContentLoaded", async () => {
173173
if (window.innerHeight > window.innerWidth) {
174174
document.getElementById("orientation-message").style.display = "block";

0 commit comments

Comments
 (0)