···178178 }
179179180180 // Scroll to builder
181181- document.querySelector("#build")?.scrollIntoView();
181181+ document.querySelector("#code")?.scrollIntoView();
182182183183 // Make sure HTML is loaded
184184 if (!facet.html && facet.uri) {
···212212 const editor = $editor.value;
213213 if (!editor) return;
214214215215- document.querySelector("#build-form")?.addEventListener(
215215+ document.querySelector("#code-form")?.addEventListener(
216216 "submit",
217217 onBuildSubmit(editor),
218218 );
···254254 });
255255 setEditorLoading(false);
256256 editFacet(facet);
257257- document.querySelector("#build")?.scrollIntoView();
257257+ document.querySelector("#code")?.scrollIntoView();
258258 break;
259259 }
260260 }
+3-3
src/common/pages/ppr.js
···11-import * as Build from "./build.js";
11+import * as Build from "./code.js";
22import * as Dashboard from "./dashboard.js";
33import * as Grid from "./grid.js";
44import * as Guide from "./guide.js";
···991010/**
1111 * Strips the app's base path prefix from an absolute pathname,
1212- * returning a root-relative path like "/build".
1212+ * returning a root-relative path like "/code".
1313 *
1414 * @param {string} pathname
1515 */
···3636 await Grid.setupOutputIndicator();
37373838 switch (path) {
3939- case "/build":
3939+ case "/code":
4040 Build.renderEditor();
4141 Build.handleBuildFormSubmit();
4242 Build.listenForExamplesEdit();
+1-1
src/elements.vto
···230230 Elements
231231 </p>
232232 <p>
233233- Diffuse was built using these web components, consume these using the <a href="../build/">build tool</a>, the Javascript <a href="https://jsr.io/@toko/diffuse">package</a>, or the linked Javascript files down below.
233233+ Diffuse was built using these web components, consume these using the <a href="../code/">code tool</a>, the Javascript <a href="https://jsr.io/@toko/diffuse">package</a>, or the linked Javascript files down below.
234234 </p>
235235 <ul class="table-of-contents">
236236 <li><a href="elements/#artwork">Artwork</a></li>